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.001093/0.001093, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.0009777/0.0009777, allocations: 169 kB / 24.14 MB, free: 364 kB / 18.57 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.109/1.109, allocations: 158.6 MB / 186 MB, free: 2.73 MB / 170.7 MB " [Timeout remaining time 179] 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.1604/0.1604, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 299 MB, free: 2.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.501e-05, allocations: 2.312 kB / 299 MB, free: 2.234 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.1517/0.1517, allocations: 3.971 MB / 303 MB, free: 18.81 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003012/0.1547, allocations: 1.123 MB / 304.1 MB, free: 18.32 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000544/0.1552, allocations: 18.44 kB / 304.1 MB, free: 18.31 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.1556, allocations: 104.3 kB / 304.2 MB, free: 18.24 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006237/0.1562, allocations: 212.5 kB / 304.5 MB, free: 18.09 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008252/0.157, allocations: 201.9 kB / 304.7 MB, free: 17.98 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001147/0.1582, allocations: 0.8059 MB / 305.5 MB, free: 17.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003843/0.1585, allocations: 163.4 kB / 305.6 MB, free: 17.47 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009735/0.1595, allocations: 464.4 kB / 306.1 MB, free: 17.29 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.1601, allocations: 257.1 kB / 306.3 MB, free: 17.21 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.1603, allocations: 57.47 kB / 306.4 MB, free: 17.21 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.1605, allocations: 87.94 kB / 306.5 MB, free: 17.21 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.1606, allocations: 147.8 kB / 306.6 MB, free: 17.11 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.161, allocations: 244.5 kB / 306.8 MB, free: 17.01 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009112/0.1619, allocations: 0.5446 MB / 307.4 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1619, allocations: 0 / 307.4 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1619, allocations: 0 / 307.4 MB, free: 16.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.775e-05/0.1619, allocations: 4.75 kB / 307.4 MB, free: 16.75 MB / 282.7 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.001839/0.1638, allocations: 0.9019 MB / 308.3 MB, free: 16.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.546e-05/0.1638, allocations: 9.188 kB / 308.3 MB, free: 16.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.1641, allocations: 97.12 kB / 308.4 MB, free: 16.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.1646, allocations: 292.6 kB / 308.7 MB, free: 15.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.1647, allocations: 44.41 kB / 308.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.1648, allocations: 73.39 kB / 308.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1658, allocations: 472 kB / 309.3 MB, free: 15.66 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.257e-05/0.1659, allocations: 18.36 kB / 309.3 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.297e-05/0.1659, allocations: 20.97 kB / 309.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.553e-05/0.166, allocations: 18.47 kB / 309.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.1666, allocations: 202 kB / 309.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.1689, allocations: 1.589 MB / 311.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.1697, allocations: 436.3 kB / 311.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002308/0.1699, allocations: 161.5 kB / 311.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.1701, allocations: 25.09 kB / 311.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.745e-05/0.1701, allocations: 51.83 kB / 311.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of pre-optimization done (n=82): time 5.791e-06/0.1701, allocations: 0 / 311.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=115): time 0.004663/0.1748, allocations: 2.736 MB / 314.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/0.1749, allocations: 225.9 kB / 314.7 MB, free: 12.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.1752, allocations: 341.4 kB / 315.1 MB, free: 12.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.963e-05/0.1752, allocations: 46.36 kB / 315.1 MB, free: 12.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1753, allocations: 231.2 kB / 315.3 MB, free: 12.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.1755, allocations: 424.7 kB / 315.7 MB, free: 11.78 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.1757, allocations: 181.3 kB / 315.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.1758, allocations: 393.8 kB / 316.3 MB, free: 11.29 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.176, allocations: 101.7 kB / 316.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.1763, allocations: 300.6 kB / 316.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.1768, allocations: 0.5002 MB / 317.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.1768, allocations: 1.312 kB / 317.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0007042/0.1775, allocations: 0.5213 MB / 317.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1776, allocations: 7.531 kB / 317.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.1776, allocations: 5.5 kB / 317.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/0.1776, allocations: 13.56 kB / 317.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.1781, allocations: 274.8 kB / 318 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.1782, allocations: 13.69 kB / 318 MB, free: 10.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.1784, allocations: 44.14 kB / 318.1 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.1785, allocations: 40.17 kB / 318.1 MB, free: 10.4 MB / 282.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 (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.0002019/0.1787, allocations: 170.5 kB / 318.3 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001611/0.1788, allocations: 87.61 kB / 318.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.179, allocations: 158.8 kB / 318.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.179, allocations: 11.72 kB / 318.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.523e-05/0.1791, allocations: 2.781 kB / 318.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.1791, allocations: 11.53 kB / 318.5 MB, free: 10.06 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001608/0.1807, allocations: 1.421 MB / 320 MB, free: 8.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.1807, allocations: 4 kB / 320 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/0.1812, allocations: 239.7 kB / 320.2 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.105e-05/0.1812, allocations: 9.062 kB / 320.2 MB, free: 8.391 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.1812, allocations: 20 kB / 320.2 MB, free: 8.371 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.1812, allocations: 11.98 kB / 320.2 MB, free: 8.359 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.1812, allocations: 7.938 kB / 320.2 MB, free: 8.352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007441/0.182, allocations: 1.229 MB / 321.5 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/0.1821, allocations: 79.5 kB / 321.6 MB, free: 7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.274e-05/0.1822, allocations: 24 kB / 321.6 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002886/0.1825, allocations: 31.98 kB / 321.6 MB, free: 6.945 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1826, allocations: 95.69 kB / 321.7 MB, free: 6.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.1826, allocations: 24 kB / 321.7 MB, free: 6.832 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.146e-05/0.1827, allocations: 136.7 kB / 321.9 MB, free: 6.699 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1827, allocations: 0 / 321.9 MB, free: 6.699 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005955/0.1833, allocations: 200 kB / 322.1 MB, free: 6.504 MB / 282.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 (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.0002036/0.1835, allocations: 118 kB / 322.2 MB, free: 6.379 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005541/0.1841, allocations: 471.8 kB / 322.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/0.1841, allocations: 8 kB / 322.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.1843, allocations: 278.5 kB / 322.9 MB, free: 5.633 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.1851, allocations: 145.8 kB / 323.1 MB, free: 5.504 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.187, allocations: 1.489 MB / 324.5 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/0.1871, allocations: 173.2 kB / 324.7 MB, free: 3.746 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002642/0.1874, allocations: 91.58 kB / 324.8 MB, free: 3.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.1876, allocations: 193.3 kB / 325 MB, free: 3.473 MB / 282.7 MB Notification: Performance of SimCode: time 2.204e-06/0.1876, allocations: 4 kB / 325 MB, free: 3.469 MB / 282.7 MB Notification: Performance of Templates: time 0.01266/0.2003, allocations: 7.705 MB / 332.7 MB, free: 11.89 MB / 298.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] 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","",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.4725423101335764]