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.00132/0.001326, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001838/0.001838, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.397/1.397, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2067/0.2067, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 64.31 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1307, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005278/0.136, allocations: 4.112 MB / 474.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002079/0.1381, allocations: 1.071 MB / 475.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002955/0.1384, allocations: 15.94 kB / 475.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.1387, allocations: 102.9 kB / 476 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004336/0.1392, allocations: 202.1 kB / 476.2 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005429/0.1397, allocations: 191.6 kB / 476.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007295/0.1405, allocations: 0.7784 MB / 477.1 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.1408, allocations: 247.3 kB / 477.4 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003548/0.1412, allocations: 302.9 kB / 477.7 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.1416, allocations: 338.5 kB / 478 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.842e-05/0.1417, allocations: 60 kB / 478.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.1418, allocations: 87.92 kB / 478.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.142, allocations: 143.5 kB / 478.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002966/0.1423, allocations: 346.2 kB / 478.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.143, allocations: 0.7668 MB / 479.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.143, allocations: 0 / 479.4 MB, free: 4.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.143, allocations: 4 kB / 479.4 MB, free: 4.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.143, allocations: 0 / 479.4 MB, free: 4.895 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.001806/0.1448, allocations: 0.9964 MB / 480.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1449, allocations: 8.031 kB / 480.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.145, allocations: 84.08 kB / 480.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.1455, allocations: 397.8 kB / 480.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.889e-05/0.1455, allocations: 45.69 kB / 480.9 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1457, allocations: 64.28 kB / 481 MB, free: 3.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.1468, allocations: 0.6346 MB / 481.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.1468, allocations: 11.89 kB / 481.6 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.003e-05/0.1469, allocations: 23.98 kB / 481.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.1469, allocations: 16 kB / 481.7 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1481, allocations: 0.5333 MB / 482.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003036/0.1511, allocations: 2.149 MB / 484.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.1523, allocations: 0.6953 MB / 485 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.1529, allocations: 343.4 kB / 485.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.1531, allocations: 93.53 kB / 485.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.1531, allocations: 54.94 kB / 485.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 3.817e-06/0.1532, allocations: 3.984 kB / 485.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.009109/0.1623, allocations: 4.492 MB / 490 MB, free: 9.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.1625, allocations: 230.1 kB / 490.2 MB, free: 9.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004827/0.163, allocations: 358 kB / 490.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.688e-05/0.163, allocations: 41.7 kB / 490.6 MB, free: 8.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.1633, allocations: 268.9 kB / 490.9 MB, free: 8.629 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/0.1636, allocations: 410 kB / 491.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.1639, allocations: 186.9 kB / 491.5 MB, free: 8.035 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1641, allocations: 378.8 kB / 491.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008433/0.1649, allocations: 318.6 kB / 492.2 MB, free: 7.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008349/0.1658, allocations: 0.5043 MB / 492.7 MB, free: 6.773 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.1673, allocations: 0.8702 MB / 493.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.1673, allocations: 0 / 493.5 MB, free: 5.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001979/0.1693, allocations: 1.011 MB / 494.6 MB, free: 4.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.1693, allocations: 11.94 kB / 494.6 MB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.1694, allocations: 4 kB / 494.6 MB, free: 4.805 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.1694, allocations: 12 kB / 494.6 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.1705, allocations: 283.6 kB / 494.9 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.801e-05/0.1705, allocations: 11.94 kB / 494.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006544/0.1712, allocations: 47.97 kB / 494.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.1713, allocations: 44.09 kB / 495 MB, free: 4.414 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004902/0.1718, allocations: 233.5 kB / 495.2 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.1722, allocations: 75.09 kB / 495.3 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005878/0.1728, allocations: 218.8 kB / 495.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.1728, allocations: 12 kB / 495.5 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/0.1728, allocations: 4 kB / 495.5 MB, free: 3.855 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.821e-05/0.1729, allocations: 7.969 kB / 495.5 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004914/0.1778, allocations: 2.333 MB / 497.8 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/0.1778, allocations: 4 kB / 497.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001096/0.1789, allocations: 251.7 kB / 498.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.945e-05/0.1789, allocations: 4 kB / 498.1 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.817e-05/0.179, allocations: 35.92 kB / 498.1 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.179, allocations: 11.94 kB / 498.1 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.1791, allocations: 4 kB / 498.1 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002954/0.182, allocations: 1.898 MB / 0.4883 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.1824, allocations: 204.2 kB / 0.4885 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/0.1826, allocations: 32 kB / 0.4885 GB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006557/0.1833, allocations: 47.97 kB / 0.4886 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.1834, allocations: 88.33 kB / 0.4887 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.957e-05/0.1835, allocations: 31.98 kB / 0.4887 GB, free: 14.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002881/0.1838, allocations: 251.2 kB / 0.4889 GB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.464e-06/0.1838, allocations: 0 / 0.4889 GB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009672/0.1848, allocations: 195.9 kB / 0.4891 GB, free: 14.31 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.0002679/0.1851, allocations: 144.9 kB / 0.4893 GB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.1868, allocations: 0.8471 MB / 0.4901 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.1868, allocations: 4 kB / 0.4901 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009341/0.1878, allocations: 491.2 kB / 0.4906 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.189, allocations: 138.5 kB / 0.4907 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.1926, allocations: 2.183 MB / 0.4928 GB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006424/0.1933, allocations: 0.9439 MB / 0.4937 GB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.1937, allocations: 97.75 kB / 0.4938 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.1939, allocations: 67.42 kB / 0.4939 GB, free: 9.305 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1939, allocations: 0 / 0.4939 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Templates: time 0.01528/0.2092, allocations: 7.261 MB / 0.501 GB, free: 2.102 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches