Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002304/0.002304, allocations: 75.77 kB / 20.51 MB, free: 1.121 MB / 14.72 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.002024/0.002024, allocations: 169.3 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 158.6 MB / 185.5 MB, free: 6.141 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2273/0.2273, allocations: 32.37 MB / 270.1 MB, free: 2.719 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002599/0.002599, allocations: 67.89 kB / 407.7 MB, free: 5.566 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1489, allocations: 61.05 MB / 468.8 MB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.007193/0.1561, allocations: 3.689 MB / 472.5 MB, free: 4.621 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.1587, allocations: 1.083 MB / 473.6 MB, free: 3.527 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.159, allocations: 15.88 kB / 473.6 MB, free: 3.512 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1593, allocations: 103 kB / 473.7 MB, free: 3.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.1598, allocations: 202.2 kB / 473.9 MB, free: 3.211 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006406/0.1604, allocations: 199.6 kB / 474.1 MB, free: 3.016 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009555/0.1613, allocations: 0.7783 MB / 474.8 MB, free: 2.234 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.1617, allocations: 152.1 kB / 475 MB, free: 2.082 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004283/0.1621, allocations: 322.9 kB / 475.3 MB, free: 1.766 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.1626, allocations: 306.5 kB / 475.6 MB, free: 1.465 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.1627, allocations: 60 kB / 475.7 MB, free: 1.406 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.1629, allocations: 80 kB / 475.7 MB, free: 1.328 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.163, allocations: 143.5 kB / 475.9 MB, free: 1.188 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003407/0.1634, allocations: 294.6 kB / 476.2 MB, free: 0.8984 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.1644, allocations: 0.7857 MB / 477 MB, free: 112 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1644, allocations: 0 / 477 MB, free: 112 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1644, allocations: 0 / 477 MB, free: 112 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.937e-05/0.1644, allocations: 0 / 477 MB, free: 112 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.3177/0.4821, allocations: 0.9329 MB / 477.9 MB, free: 50.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.4821, allocations: 11.09 kB / 477.9 MB, free: 50.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.4822, allocations: 78.22 kB / 478 MB, free: 50.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00045/0.4827, allocations: 341.9 kB / 478.3 MB, free: 50.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.4827, allocations: 42.75 kB / 478.4 MB, free: 50.47 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.683e-05/0.4828, allocations: 67.88 kB / 478.4 MB, free: 50.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009419/0.4838, allocations: 0.6211 MB / 479 MB, free: 50.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.4838, allocations: 14.31 kB / 479.1 MB, free: 50.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.4838, allocations: 28.94 kB / 479.1 MB, free: 50.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.4838, allocations: 15.31 kB / 479.1 MB, free: 50.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009862/0.4848, allocations: 0.5216 MB / 479.6 MB, free: 50.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.4872, allocations: 1.92 MB / 481.5 MB, free: 49.09 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4882, allocations: 0.6618 MB / 482.2 MB, free: 48.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.4887, allocations: 324.8 kB / 482.5 MB, free: 48.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.4888, allocations: 19.53 kB / 482.5 MB, free: 48.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.4889, allocations: 52.92 kB / 482.6 MB, free: 48.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.685e-06/0.4889, allocations: 0 / 482.6 MB, free: 48.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=115): time 0.00668/0.4955, allocations: 3.949 MB / 486.5 MB, free: 46.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.4956, allocations: 219.4 kB / 486.8 MB, free: 46.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.4959, allocations: 379.1 kB / 487.1 MB, free: 45.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.496, allocations: 48.73 kB / 487.2 MB, free: 45.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.4961, allocations: 268.8 kB / 487.4 MB, free: 45.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.4963, allocations: 425.6 kB / 487.9 MB, free: 45.33 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.4965, allocations: 187.1 kB / 488 MB, free: 45.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.4965, allocations: 378.1 kB / 488.4 MB, free: 44.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005606/0.4971, allocations: 316.7 kB / 488.7 MB, free: 44.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006125/0.4977, allocations: 0.5069 MB / 489.2 MB, free: 44.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.4989, allocations: 0.8715 MB / 490.1 MB, free: 44.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.4989, allocations: 3.062 kB / 490.1 MB, free: 44.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001617/0.5006, allocations: 1.005 MB / 491.1 MB, free: 43.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.5006, allocations: 6.562 kB / 491.1 MB, free: 43.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.5006, allocations: 10.08 kB / 491.1 MB, free: 43.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.617e-05/0.5006, allocations: 13.53 kB / 491.1 MB, free: 43.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009724/0.5016, allocations: 278.7 kB / 491.4 MB, free: 43.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.5016, allocations: 17.42 kB / 491.4 MB, free: 43.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.5021, allocations: 53.36 kB / 491.5 MB, free: 43.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/0.5021, allocations: 42.78 kB / 491.5 MB, free: 43.57 MB / 446.1 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 (144): * Single equations (assignments): 144 * 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.0002669/0.5024, allocations: 231 kB / 491.7 MB, free: 43.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002171/0.5026, allocations: 77 kB / 491.8 MB, free: 43.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003755/0.503, allocations: 218.9 kB / 492 MB, free: 43.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.503, allocations: 20.19 kB / 492 MB, free: 43.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.503, allocations: 6.531 kB / 492.1 MB, free: 43.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/0.503, allocations: 6.797 kB / 492.1 MB, free: 43.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002952/0.506, allocations: 2.061 MB / 494.1 MB, free: 42.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.506, allocations: 3.375 kB / 494.1 MB, free: 42.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009547/0.507, allocations: 253.6 kB / 494.4 MB, free: 42.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.507, allocations: 9.5 kB / 494.4 MB, free: 42.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.956e-05/0.507, allocations: 32.97 kB / 494.4 MB, free: 42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.436e-06/0.507, allocations: 12.47 kB / 494.4 MB, free: 42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.507, allocations: 3.312 kB / 494.4 MB, free: 42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.5091, allocations: 1.914 MB / 496.3 MB, free: 40.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002303/0.5093, allocations: 121.7 kB / 496.5 MB, free: 40.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.699e-05/0.5094, allocations: 25.41 kB / 496.5 MB, free: 40.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006/0.51, allocations: 43.95 kB / 496.5 MB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.5101, allocations: 92.66 kB / 496.6 MB, free: 40.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.5102, allocations: 29.09 kB / 496.6 MB, free: 40.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001879/0.5104, allocations: 251.5 kB / 496.9 MB, free: 40.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5104, allocations: 0 / 496.9 MB, free: 40.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008052/0.5112, allocations: 198.5 kB / 497.1 MB, free: 40.59 MB / 446.1 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 (115): * Single equations (assignments): 115 * 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.0001624/0.5113, allocations: 142.1 kB / 497.2 MB, free: 40.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.5127, allocations: 0.8107 MB / 498 MB, free: 40.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5127, allocations: 3.188 kB / 498 MB, free: 40.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007004/0.5134, allocations: 467.8 kB / 498.5 MB, free: 40.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5146, allocations: 137.1 kB / 498.6 MB, free: 40.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.5175, allocations: 2.201 MB / 0.4891 GB, free: 38.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.5177, allocations: 343.6 kB / 0.4894 GB, free: 38.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003447/0.5181, allocations: 101.8 kB / 0.4895 GB, free: 38.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.5183, allocations: 69.42 kB / 0.4896 GB, free: 38.44 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5183, allocations: 4 kB / 0.4896 GB, free: 38.44 MB / 446.1 MB Notification: Performance of Templates: time 0.01511/0.5334, allocations: 7.186 MB / 0.4966 GB, free: 37.54 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.786986395949498]