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.000893/0.000893, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009662/0.0009662, allocations: 171.9 kB / 24.92 MB, free: 8.723 MB / 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.9124/0.9124, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2246/0.2246, allocations: 32.8 MB / 294.6 MB, free: 1.199 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.843e-06/1.843e-06, allocations: 3.938 kB / 323.2 MB, free: 9.766 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.961e-05, allocations: 2.969 kB / 323.2 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003943/0.003963, allocations: 4.034 MB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.006017, allocations: 1.207 MB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.006264, allocations: 15.88 kB / 328.4 MB, free: 4.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.006466, allocations: 106.9 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000342/0.006808, allocations: 217.9 kB / 328.8 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.007291, allocations: 231.4 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006329/0.007924, allocations: 0.8408 MB / 329.8 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.008154, allocations: 166 kB / 330 MB, free: 2.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004761/0.00863, allocations: 467 kB / 330.4 MB, free: 2.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.008897, allocations: 263.2 kB / 330.7 MB, free: 2.203 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.177e-05/0.008959, allocations: 60 kB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.009084, allocations: 95.86 kB / 330.9 MB, free: 2.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.345e-05/0.009178, allocations: 151.4 kB / 331 MB, free: 1.902 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.009346, allocations: 247.4 kB / 331.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004739/0.00982, allocations: 0.5526 MB / 331.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.009821, allocations: 0 / 331.8 MB, free: 1.105 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.009822, allocations: 4 kB / 331.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.009828, allocations: 0 / 331.8 MB, free: 1.102 MB / 298.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.001223/0.01105, allocations: 0.9132 MB / 332.7 MB, free: 164 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.01108, allocations: 11.97 kB / 332.7 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.01142, allocations: 168.8 kB / 332.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.01174, allocations: 311.5 kB / 333.2 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.01178, allocations: 41.69 kB / 333.2 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.01185, allocations: 72.3 kB / 333.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004264/0.01227, allocations: 479.3 kB / 333.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.0123, allocations: 12.12 kB / 333.8 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.125e-05/0.01233, allocations: 35.88 kB / 333.8 MB, free: 15 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.01234, allocations: 12 kB / 333.8 MB, free: 14.98 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.0126, allocations: 200.5 kB / 334 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.01402, allocations: 1.586 MB / 335.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004482/0.01447, allocations: 436.4 kB / 336 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.01462, allocations: 163.4 kB / 336.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.7e-05/0.01468, allocations: 28.48 kB / 336.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.01471, allocations: 50.98 kB / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=83): time 1.974e-06/0.01471, allocations: 0 / 336.3 MB, free: 12.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.003307/0.01802, allocations: 2.755 MB / 339 MB, free: 9.422 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.01809, allocations: 226.3 kB / 339.3 MB, free: 9.152 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01831, allocations: 355.2 kB / 339.6 MB, free: 8.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.01834, allocations: 41.7 kB / 339.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.01845, allocations: 238.4 kB / 339.9 MB, free: 8.508 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.01864, allocations: 436.2 kB / 340.3 MB, free: 8.078 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001437/0.01879, allocations: 182.8 kB / 340.5 MB, free: 7.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.992e-05/0.01889, allocations: 390.5 kB / 340.9 MB, free: 7.504 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.019, allocations: 102.6 kB / 341 MB, free: 7.402 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.01922, allocations: 300.4 kB / 341.3 MB, free: 7.043 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004028/0.01962, allocations: 0.5218 MB / 341.8 MB, free: 6.453 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.01962, allocations: 4 kB / 341.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.000458/0.02008, allocations: 0.5031 MB / 342.3 MB, free: 5.941 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.0201, allocations: 8.438 kB / 342.3 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.0201, allocations: 8 kB / 342.3 MB, free: 5.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.02012, allocations: 12 kB / 342.3 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004738/0.02059, allocations: 271.6 kB / 342.6 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.02061, allocations: 19.88 kB / 342.6 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.02077, allocations: 39.98 kB / 342.6 MB, free: 5.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.0208, allocations: 28 kB / 342.7 MB, free: 5.562 MB / 314.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.000139/0.02094, allocations: 176.4 kB / 342.8 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.02106, allocations: 83.94 kB / 342.9 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.02122, allocations: 167 kB / 343.1 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.02123, allocations: 15.94 kB / 343.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.02123, allocations: 0 / 343.1 MB, free: 5.109 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.02124, allocations: 11.92 kB / 343.1 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.02262, allocations: 1.423 MB / 344.5 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.02263, allocations: 4 kB / 344.5 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004852/0.02311, allocations: 247.6 kB / 344.8 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.02312, allocations: 8 kB / 344.8 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.02315, allocations: 27.98 kB / 344.8 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.02316, allocations: 8.078 kB / 344.8 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.02316, allocations: 12.2 kB / 344.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.02419, allocations: 1.236 MB / 346.1 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.02432, allocations: 75.52 kB / 346.1 MB, free: 1.965 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.02437, allocations: 24 kB / 346.2 MB, free: 1.941 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.02462, allocations: 27.98 kB / 346.2 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.792e-05/0.02471, allocations: 96.38 kB / 346.3 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.02474, allocations: 28.06 kB / 346.3 MB, free: 1.789 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.307e-05/0.02483, allocations: 148.7 kB / 346.5 MB, free: 1.641 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02483, allocations: 4 kB / 346.5 MB, free: 1.637 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004799/0.02531, allocations: 196 kB / 346.7 MB, free: 1.445 MB / 314.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.0001311/0.02544, allocations: 124.2 kB / 346.8 MB, free: 1.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004284/0.02587, allocations: 467.6 kB / 347.2 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.014e-06/0.02588, allocations: 8.188 kB / 347.2 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.02611, allocations: 278.1 kB / 347.5 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006754/0.02678, allocations: 147.4 kB / 347.7 MB, free: 452 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.02845, allocations: 1.53 MB / 349.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.02859, allocations: 173.2 kB / 349.4 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002394/0.02883, allocations: 94 kB / 349.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.0291, allocations: 205.3 kB / 349.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of SimCode: time 6.62e-07/0.0291, allocations: 0 / 349.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of Templates: time 0.01073/0.03983, allocations: 7.859 MB / 357.5 MB, free: 6.641 MB / 330.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.079686341807246]