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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Translational.AllComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008896/0.0008895, allocations: 100.6 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 186.1 kB / 17.89 MB, free: 6.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2021/0.2021, allocations: 44.26 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004031, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1413, allocations: 61.92 MB / 471.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004331/0.1456, allocations: 3.53 MB / 475.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00212/0.1478, allocations: 1.017 MB / 476.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003591/0.1482, allocations: 11.94 kB / 476.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.1484, allocations: 79.33 kB / 476.2 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003665/0.1488, allocations: 166.6 kB / 476.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.1493, allocations: 147.8 kB / 476.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007152/0.15, allocations: 0.7199 MB / 477.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.1503, allocations: 182.9 kB / 477.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000308/0.1506, allocations: 255 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.151, allocations: 294.7 kB / 478 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.086e-05/0.151, allocations: 28 kB / 478 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.1512, allocations: 55.98 kB / 478 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.1513, allocations: 111.5 kB / 478.1 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1515, allocations: 141.3 kB / 478.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005152/0.152, allocations: 0.5417 MB / 478.8 MB, free: 6.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.152, allocations: 4 kB / 478.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.152, allocations: 0 / 478.8 MB, free: 6.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.152, allocations: 0 / 478.8 MB, free: 6.426 MB / 350.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.001722/0.1537, allocations: 0.9157 MB / 479.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1538, allocations: 8.031 kB / 479.8 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.154, allocations: 83.06 kB / 479.8 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.1545, allocations: 384.8 kB / 480.2 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.1546, allocations: 41.31 kB / 480.3 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.1547, allocations: 67.91 kB / 480.3 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.1559, allocations: 0.6343 MB / 481 MB, free: 4.184 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/0.1559, allocations: 15.89 kB / 481 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.335e-05/0.156, allocations: 28 kB / 481 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.156, allocations: 16 kB / 481 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.1572, allocations: 0.5604 MB / 481.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.1605, allocations: 2.177 MB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/0.1618, allocations: 0.7232 MB / 484.5 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006077/0.1624, allocations: 359.5 kB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001667/0.1626, allocations: 105.9 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.1626, allocations: 50.78 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.665e-06/0.1626, allocations: 0 / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.008014/0.1706, allocations: 4.605 MB / 489.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.1708, allocations: 222.2 kB / 489.8 MB, free: 10.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.1712, allocations: 365.8 kB / 490.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-05/0.1713, allocations: 49.7 kB / 490.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.1715, allocations: 269 kB / 490.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000345/0.1718, allocations: 410 kB / 490.9 MB, free: 9.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.1719, allocations: 20 kB / 490.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.1721, allocations: 386.7 kB / 491.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006758/0.1728, allocations: 334.4 kB / 491.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008238/0.1736, allocations: 0.5166 MB / 492.1 MB, free: 8.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007341/0.1744, allocations: 391.1 kB / 492.5 MB, free: 7.902 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.1744, allocations: 4 kB / 492.5 MB, free: 7.898 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001787/0.1762, allocations: 1.03 MB / 493.5 MB, free: 6.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.1762, allocations: 8.438 kB / 493.5 MB, free: 6.855 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.1762, allocations: 9.484 kB / 493.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.494e-05/0.1763, allocations: 12 kB / 493.6 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.1773, allocations: 291.6 kB / 493.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.94e-05/0.1773, allocations: 15.94 kB / 493.9 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004549/0.1778, allocations: 63.92 kB / 493.9 MB, free: 6.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.1779, allocations: 39.98 kB / 494 MB, free: 6.434 MB / 366.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.0003336/0.1782, allocations: 225.6 kB / 494.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.1784, allocations: 79.16 kB / 494.3 MB, free: 6.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005163/0.179, allocations: 222.8 kB / 494.5 MB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.179, allocations: 12 kB / 494.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/0.179, allocations: 0 / 494.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.179, allocations: 7.984 kB / 494.5 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.1829, allocations: 2.397 MB / 496.9 MB, free: 3.379 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.1829, allocations: 8.281 kB / 496.9 MB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.184, allocations: 255.7 kB / 497.1 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.217e-05/0.184, allocations: 8 kB / 497.2 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/0.1841, allocations: 31.98 kB / 497.2 MB, free: 3.082 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.116e-05/0.1842, allocations: 8.062 kB / 497.2 MB, free: 3.074 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.1842, allocations: 11.94 kB / 497.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002828/0.187, allocations: 1.951 MB / 499.2 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.1874, allocations: 192.2 kB / 499.3 MB, free: 0.8672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.1875, allocations: 27.98 kB / 499.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006583/0.1882, allocations: 55.97 kB / 499.4 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.1884, allocations: 84.34 kB / 499.5 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.701e-05/0.1885, allocations: 35.98 kB / 499.5 MB, free: 0.668 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.1888, allocations: 247.2 kB / 499.8 MB, free: 436 kB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1889, allocations: 0 / 499.8 MB, free: 436 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.00106/0.1899, allocations: 196 kB / 500 MB, free: 240 kB / 366.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.0002434/0.1902, allocations: 139.1 kB / 0.4884 GB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001785/0.192, allocations: 0.8705 MB / 0.4892 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.192, allocations: 0 / 0.4892 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000936/0.1929, allocations: 0.4959 MB / 0.4897 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.1942, allocations: 135.4 kB / 0.4899 GB, free: 14.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004375/0.1986, allocations: 2.657 MB / 0.4924 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007214/0.1994, allocations: 0.9481 MB / 0.4934 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005302/0.1999, allocations: 97.77 kB / 0.4935 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.2001, allocations: 59.42 kB / 0.4935 GB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.2001, allocations: 3.938 kB / 0.4935 GB, free: 10.72 MB / 382.1 MB Notification: Performance of Templates: time 0.01508/0.2152, allocations: 6.433 MB / 0.4998 GB, free: 4.34 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches