Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009587/0.0009587, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008997/0.0008997, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9677/0.9677, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2567/0.2567, allocations: 32.8 MB / 294.3 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 376 MB, free: 4.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.756e-05, allocations: 2.312 kB / 376 MB, free: 4.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003866/0.003894, allocations: 4.089 MB / 380.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.005677, allocations: 1.16 MB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002473/0.005924, allocations: 19.81 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.006135, allocations: 110.9 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.006461, allocations: 210 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005349/0.006996, allocations: 235.4 kB / 381.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006551/0.007651, allocations: 0.8284 MB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.0079, allocations: 160.1 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.008371, allocations: 470.9 kB / 383.2 MB, free: 13.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.008631, allocations: 263.2 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.798e-05/0.008699, allocations: 60 kB / 383.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.008837, allocations: 99.86 kB / 383.7 MB, free: 13.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.008931, allocations: 151.4 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.009106, allocations: 243.4 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005246/0.009631, allocations: 0.5642 MB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.009633, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.009634, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.009644, allocations: 0 / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001079/0.01072, allocations: 1.041 MB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.01076, allocations: 8.031 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.01111, allocations: 188.4 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.01149, allocations: 378.3 kB / 386.2 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.01152, allocations: 41.69 kB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.804e-05/0.0116, allocations: 72.28 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006205/0.01222, allocations: 0.5033 MB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.01225, allocations: 12.14 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.815e-05/0.01229, allocations: 23.94 kB / 386.9 MB, free: 9.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.01231, allocations: 16 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.01273, allocations: 276.6 kB / 387.1 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001808/0.01454, allocations: 2.158 MB / 389.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006892/0.01523, allocations: 0.5318 MB / 389.8 MB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.01545, allocations: 207.7 kB / 390 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.834e-05/0.01554, allocations: 32.42 kB / 390.1 MB, free: 6.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.01557, allocations: 53.77 kB / 390.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of pre-optimization done (n=83): time 1.883e-06/0.01557, allocations: 0 / 390.1 MB, free: 6.199 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.00372/0.01929, allocations: 3.325 MB / 393.4 MB, free: 2.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.066e-05/0.01937, allocations: 226.2 kB / 393.7 MB, free: 2.379 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002726/0.01964, allocations: 438.5 kB / 394.1 MB, free: 1.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.01967, allocations: 41.7 kB / 394.1 MB, free: 1.887 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/0.02007, allocations: 328.2 kB / 394.5 MB, free: 1.559 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.02028, allocations: 428.4 kB / 394.9 MB, free: 1.137 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001698/0.02045, allocations: 184.6 kB / 395.1 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.02062, allocations: 0.5586 MB / 395.6 MB, free: 388 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002379/0.02086, allocations: 150.5 kB / 395.8 MB, free: 236 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003469/0.0212, allocations: 410.7 kB / 396.2 MB, free: 15.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.02183, allocations: 0.6259 MB / 396.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.02184, allocations: 4 kB / 396.8 MB, free: 15.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0008529/0.02269, allocations: 0.7424 MB / 397.5 MB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.02271, allocations: 8 kB / 397.5 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.02272, allocations: 7.938 kB / 397.5 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.02274, allocations: 15.94 kB / 397.6 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/0.0233, allocations: 271.6 kB / 397.8 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.02331, allocations: 16.42 kB / 397.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.02349, allocations: 32 kB / 397.9 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.428e-05/0.02355, allocations: 47.98 kB / 397.9 MB, free: 13.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.02371, allocations: 220.3 kB / 398.1 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.02386, allocations: 115.5 kB / 398.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.02406, allocations: 179 kB / 398.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.02407, allocations: 15.94 kB / 398.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.02408, allocations: 4.062 kB / 398.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.02409, allocations: 11.97 kB / 398.5 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.02595, allocations: 2.024 MB / 400.5 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.02595, allocations: 4 kB / 400.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/0.02648, allocations: 244 kB / 400.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.02649, allocations: 11.98 kB / 400.7 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.02653, allocations: 31.98 kB / 400.8 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.094e-06/0.02654, allocations: 11.94 kB / 400.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.02654, allocations: 4 kB / 400.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001514/0.02805, allocations: 1.771 MB / 402.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.02821, allocations: 135.4 kB / 402.7 MB, free: 8.953 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.099e-05/0.02826, allocations: 28 kB / 402.7 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.02855, allocations: 27.98 kB / 402.7 MB, free: 8.898 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.02866, allocations: 96.38 kB / 402.8 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.02869, allocations: 39.98 kB / 402.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00016/0.02885, allocations: 275.1 kB / 403.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02885, allocations: 0 / 403.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005082/0.02936, allocations: 192 kB / 403.3 MB, free: 8.312 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.0295, allocations: 135.1 kB / 403.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006504/0.03015, allocations: 0.5618 MB / 404 MB, free: 7.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.03016, allocations: 3.938 kB / 404 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000316/0.03047, allocations: 318.6 kB / 404.3 MB, free: 7.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007513/0.03122, allocations: 157.1 kB / 404.5 MB, free: 7.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.03325, allocations: 1.861 MB / 406.4 MB, free: 5.176 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.03338, allocations: 181.2 kB / 406.5 MB, free: 4.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002271/0.03361, allocations: 94 kB / 406.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.03375, allocations: 68.48 kB / 406.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03375, allocations: 0 / 406.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of Templates: time 0.009948/0.0437, allocations: 7.362 MB / 414 MB, free: 13.56 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3254446131177247]