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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3978/0.3978, allocations: 43.58 MB / 314.6 MB, free: 8.711 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005523/0.0005524, allocations: 15.94 kB / 383.9 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.1671, allocations: 58.86 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004385/0.1715, allocations: 3.527 MB / 446.3 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.1742, allocations: 1.049 MB / 447.4 MB, free: 8.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000592/0.1748, allocations: 15.94 kB / 447.4 MB, free: 8.438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003764/0.1752, allocations: 79.27 kB / 447.5 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007839/0.176, allocations: 170.6 kB / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/0.1768, allocations: 151.8 kB / 447.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.178, allocations: 0.7082 MB / 448.5 MB, free: 7.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.1785, allocations: 190.9 kB / 448.7 MB, free: 7.137 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.1791, allocations: 255 kB / 448.9 MB, free: 6.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006736/0.1797, allocations: 286.8 kB / 449.2 MB, free: 6.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.1799, allocations: 32 kB / 449.2 MB, free: 6.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.1802, allocations: 55.92 kB / 449.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.1804, allocations: 115.5 kB / 449.4 MB, free: 6.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002804/0.1807, allocations: 141.4 kB / 449.5 MB, free: 6.262 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000797/0.1815, allocations: 0.5455 MB / 450.1 MB, free: 5.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.1815, allocations: 4 kB / 450.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1815, allocations: 0 / 450.1 MB, free: 5.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.721e-05/0.1816, allocations: 0 / 450.1 MB, free: 5.711 MB / 382.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.002125/0.1837, allocations: 0.9196 MB / 451 MB, free: 4.742 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.609e-05/0.1838, allocations: 8.031 kB / 451 MB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.184, allocations: 87.06 kB / 451.1 MB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006177/0.1846, allocations: 376.8 kB / 451.5 MB, free: 4.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.638e-05/0.1846, allocations: 41.31 kB / 451.5 MB, free: 4.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/0.1848, allocations: 63.91 kB / 451.6 MB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.1861, allocations: 0.6343 MB / 452.2 MB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.1861, allocations: 11.89 kB / 452.2 MB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.1862, allocations: 24 kB / 452.2 MB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.1862, allocations: 23.95 kB / 452.3 MB, free: 3.418 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1873, allocations: 0.5606 MB / 452.8 MB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.1906, allocations: 2.18 MB / 455 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2517/0.4423, allocations: 0.7044 MB / 455.7 MB, free: 45.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.4432, allocations: 364.3 kB / 456.1 MB, free: 45.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001776/0.4434, allocations: 97.52 kB / 456.2 MB, free: 45.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.4434, allocations: 52.11 kB / 456.2 MB, free: 45.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.175e-06/0.4434, allocations: 0 / 456.2 MB, free: 45.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.007056/0.4505, allocations: 4.614 MB / 460.8 MB, free: 43.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.226e-05/0.4506, allocations: 232.5 kB / 461.1 MB, free: 43.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.451, allocations: 357.7 kB / 461.4 MB, free: 42.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.827e-05/0.4511, allocations: 43.2 kB / 461.5 MB, free: 42.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.4513, allocations: 269.7 kB / 461.7 MB, free: 42.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.4516, allocations: 410.4 kB / 462.1 MB, free: 42.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.4516, allocations: 18.81 kB / 462.1 MB, free: 42.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4518, allocations: 382.5 kB / 462.5 MB, free: 42.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005736/0.4523, allocations: 332.9 kB / 462.8 MB, free: 42.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/0.453, allocations: 0.521 MB / 463.4 MB, free: 41.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.4536, allocations: 397.6 kB / 463.7 MB, free: 41.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4537, allocations: 4 kB / 463.7 MB, free: 41.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00167/0.4553, allocations: 1.03 MB / 464.8 MB, free: 41.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.4554, allocations: 5.594 kB / 464.8 MB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4554, allocations: 5.438 kB / 464.8 MB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.142e-05/0.4554, allocations: 10.62 kB / 464.8 MB, free: 41.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.4565, allocations: 293.8 kB / 465.1 MB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/0.4565, allocations: 20.5 kB / 465.1 MB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004217/0.4569, allocations: 55.78 kB / 465.2 MB, free: 41.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.457, allocations: 44.75 kB / 465.2 MB, free: 41.8 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.4573, allocations: 241.2 kB / 465.4 MB, free: 41.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004166/0.4577, allocations: 73.31 kB / 465.5 MB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.4582, allocations: 223.5 kB / 465.7 MB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4582, allocations: 12.66 kB / 465.7 MB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/0.4582, allocations: 0.5625 kB / 465.7 MB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.4582, allocations: 13.62 kB / 465.8 MB, free: 41.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003562/0.4618, allocations: 2.37 MB / 468.1 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.4618, allocations: 10.67 kB / 468.1 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009159/0.4628, allocations: 260.9 kB / 468.4 MB, free: 40.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.4628, allocations: 13.44 kB / 468.4 MB, free: 40.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.4628, allocations: 30.11 kB / 468.4 MB, free: 40.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.4628, allocations: 9.344 kB / 468.4 MB, free: 40.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.4629, allocations: 7.062 kB / 468.4 MB, free: 40.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002089/0.465, allocations: 1.952 MB / 470.4 MB, free: 39.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.4652, allocations: 206 kB / 470.6 MB, free: 39.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.621e-05/0.4653, allocations: 25.62 kB / 470.6 MB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.4658, allocations: 50.89 kB / 470.7 MB, free: 39.33 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.466, allocations: 93.45 kB / 470.8 MB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.4661, allocations: 32.16 kB / 470.8 MB, free: 39.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002452/0.4663, allocations: 247 kB / 471 MB, free: 39.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4663, allocations: 0 / 471 MB, free: 39.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008172/0.4672, allocations: 199.3 kB / 471.2 MB, free: 39.13 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001658/0.4673, allocations: 127.3 kB / 471.4 MB, free: 39.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.4687, allocations: 0.8774 MB / 472.2 MB, free: 38.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4688, allocations: 0 / 472.2 MB, free: 38.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007214/0.4695, allocations: 0.4995 MB / 472.7 MB, free: 38.63 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.4706, allocations: 120.2 kB / 472.9 MB, free: 38.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.4741, allocations: 2.663 MB / 475.5 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.4745, allocations: 0.9428 MB / 476.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004619/0.475, allocations: 94.94 kB / 476.6 MB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.4752, allocations: 63.83 kB / 476.6 MB, free: 36.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4752, allocations: 0 / 476.6 MB, free: 36.06 MB / 382.1 MB Notification: Performance of Templates: time 0.01186/0.487, allocations: 6.447 MB / 483.1 MB, free: 35.63 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches