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.0009664/0.0009706, allocations: 97.8 kB / 16.02 MB, free: 84 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.001384/0.001384, allocations: 177.1 kB / 16.91 MB, free: 6.676 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.728/1.728, allocations: 205.4 MB / 223.1 MB, free: 5.562 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.426/0.426, allocations: 43.57 MB / 315 MB, free: 8.812 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.0009697/0.0009702, allocations: 12.61 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1541, allocations: 58.87 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004473/0.1586, allocations: 3.711 MB / 447.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.161, allocations: 1.095 MB / 448.2 MB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002945/0.1613, allocations: 11.94 kB / 448.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002166/0.1615, allocations: 71.39 kB / 448.3 MB, free: 7.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004126/0.162, allocations: 170.6 kB / 448.5 MB, free: 7.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.1625, allocations: 163.8 kB / 448.6 MB, free: 7.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007931/0.1633, allocations: 0.7471 MB / 449.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/0.1636, allocations: 211 kB / 449.6 MB, free: 6.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.164, allocations: 258.9 kB / 449.9 MB, free: 6.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003822/0.1644, allocations: 302.5 kB / 450.2 MB, free: 5.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.694e-05/0.1645, allocations: 32 kB / 450.2 MB, free: 5.887 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1647, allocations: 56 kB / 450.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.1648, allocations: 119.4 kB / 450.4 MB, free: 5.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002906/0.1651, allocations: 347.9 kB / 450.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006601/0.1658, allocations: 0.7043 MB / 451.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1658, allocations: 0 / 451.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1658, allocations: 0 / 451.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.1658, allocations: 0 / 451.4 MB, free: 4.66 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.001792/0.1676, allocations: 0.912 MB / 452.3 MB, free: 3.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1677, allocations: 8.031 kB / 452.3 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1678, allocations: 80 kB / 452.4 MB, free: 3.613 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.1684, allocations: 405.7 kB / 452.8 MB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.1684, allocations: 41.62 kB / 452.8 MB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.1685, allocations: 68.28 kB / 452.9 MB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1698, allocations: 0.6424 MB / 453.5 MB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.586e-05/0.1698, allocations: 11.91 kB / 453.6 MB, free: 2.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.1699, allocations: 24 kB / 453.6 MB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.1699, allocations: 19.94 kB / 453.6 MB, free: 2.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.1712, allocations: 0.5645 MB / 454.2 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2646/0.4358, allocations: 2.171 MB / 456.3 MB, free: 45.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.4372, allocations: 0.7273 MB / 457.1 MB, free: 44.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005673/0.4377, allocations: 358.9 kB / 457.4 MB, free: 44.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.4379, allocations: 97.55 kB / 457.5 MB, free: 44.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4379, allocations: 49.28 kB / 457.6 MB, free: 44.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 4.699e-06/0.4379, allocations: 4.297 kB / 457.6 MB, free: 44.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.007432/0.4454, allocations: 4.62 MB / 462.2 MB, free: 42.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.4455, allocations: 224.1 kB / 462.4 MB, free: 42.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.4458, allocations: 363.5 kB / 462.7 MB, free: 42.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.4459, allocations: 44.39 kB / 462.8 MB, free: 42.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.4461, allocations: 272.8 kB / 463.1 MB, free: 42.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000263/0.4463, allocations: 409.9 kB / 463.5 MB, free: 41.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.4464, allocations: 90 kB / 463.5 MB, free: 41.88 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.4465, allocations: 381.2 kB / 463.9 MB, free: 41.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.4472, allocations: 339.2 kB / 464.3 MB, free: 41.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007716/0.4479, allocations: 0.5219 MB / 464.8 MB, free: 41.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.4495, allocations: 0.9134 MB / 465.7 MB, free: 41.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.4495, allocations: 0 / 465.7 MB, free: 41.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001721/0.4513, allocations: 1.036 MB / 466.7 MB, free: 41.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4513, allocations: 9.375 kB / 466.7 MB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.4513, allocations: 4.234 kB / 466.7 MB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/0.4514, allocations: 13.12 kB / 466.7 MB, free: 41.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/0.4523, allocations: 294.7 kB / 467 MB, free: 41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.4524, allocations: 13.22 kB / 467 MB, free: 41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005026/0.4529, allocations: 65.97 kB / 467.1 MB, free: 41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-05/0.453, allocations: 36.78 kB / 467.1 MB, free: 41 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003622/0.4533, allocations: 237 kB / 467.4 MB, free: 40.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.4536, allocations: 80.19 kB / 467.5 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004933/0.4541, allocations: 218.9 kB / 467.7 MB, free: 40.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.4541, allocations: 11.91 kB / 467.7 MB, free: 40.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.722e-05/0.4542, allocations: 10.2 kB / 467.7 MB, free: 40.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.4542, allocations: 4.125 kB / 467.7 MB, free: 40.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/0.4575, allocations: 2.398 MB / 470.1 MB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/0.4576, allocations: 7.25 kB / 470.1 MB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009876/0.4585, allocations: 264.5 kB / 470.4 MB, free: 39.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.478e-05/0.4586, allocations: 8.938 kB / 470.4 MB, free: 39.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.4586, allocations: 25.59 kB / 470.4 MB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.29e-05/0.4587, allocations: 12.8 kB / 470.4 MB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.4587, allocations: 8 kB / 470.4 MB, free: 39.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002674/0.4613, allocations: 1.954 MB / 472.4 MB, free: 38.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.4616, allocations: 202.2 kB / 472.6 MB, free: 38.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/0.4617, allocations: 26.12 kB / 472.6 MB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.4623, allocations: 55.77 kB / 472.6 MB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.4625, allocations: 83.77 kB / 472.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.4625, allocations: 38.34 kB / 472.8 MB, free: 38.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002651/0.4628, allocations: 251.3 kB / 473 MB, free: 38.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4628, allocations: 3.938 kB / 473 MB, free: 38.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008727/0.4637, allocations: 192 kB / 473.2 MB, free: 38.06 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 (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.0001817/0.4639, allocations: 136.7 kB / 473.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001425/0.4653, allocations: 0.8807 MB / 474.2 MB, free: 37.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4653, allocations: 0 / 474.2 MB, free: 37.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.466, allocations: 0.5061 MB / 474.7 MB, free: 37.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.4674, allocations: 126.1 kB / 474.8 MB, free: 37.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.4707, allocations: 2.722 MB / 477.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.4711, allocations: 0.9494 MB / 478.5 MB, free: 34.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004255/0.4715, allocations: 105.2 kB / 478.6 MB, free: 34.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.4717, allocations: 59.03 kB / 478.7 MB, free: 34.9 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4717, allocations: 4 kB / 478.7 MB, free: 34.9 MB / 382.1 MB Notification: Performance of Templates: time 0.01288/0.4846, allocations: 6.668 MB / 485.3 MB, free: 34.48 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