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.001585/0.001584, allocations: 105 kB / 17.21 MB, free: 6.273 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.0016/0.0016, allocations: 194 kB / 18.12 MB, free: 5.363 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.515/1.515, allocations: 222.9 MB / 241.8 MB, free: 15.34 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.222/0.222, allocations: 44.18 MB / 336.1 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 62.66 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 60.84 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005826/0.1333, allocations: 4.128 MB / 472.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1359, allocations: 1.055 MB / 473.7 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000372/0.1363, allocations: 11.94 kB / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003031/0.1366, allocations: 75.39 kB / 473.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004478/0.1371, allocations: 166.6 kB / 473.9 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.1377, allocations: 171.8 kB / 474.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007605/0.1384, allocations: 0.7471 MB / 474.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003915/0.1388, allocations: 214.6 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003826/0.1392, allocations: 282.8 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003526/0.1396, allocations: 322.5 kB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.435e-05/0.1397, allocations: 40 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.1399, allocations: 59.98 kB / 475.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.14, allocations: 123.5 kB / 475.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003498/0.1404, allocations: 330.3 kB / 476.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007751/0.1412, allocations: 0.728 MB / 476.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1412, allocations: 4 kB / 476.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1412, allocations: 0 / 476.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.1412, allocations: 4 kB / 476.9 MB, free: 6.371 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.002279/0.1435, allocations: 1.001 MB / 477.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.247e-05/0.1436, allocations: 8.031 kB / 477.9 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.1438, allocations: 76.09 kB / 478 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007155/0.1445, allocations: 393.8 kB / 478.4 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.1446, allocations: 45.62 kB / 478.4 MB, free: 4.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.1447, allocations: 68.27 kB / 478.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.1462, allocations: 0.6269 MB / 479.1 MB, free: 4.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.943e-05/0.1462, allocations: 11.84 kB / 479.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.1463, allocations: 24 kB / 479.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.1463, allocations: 16 kB / 479.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.1476, allocations: 0.5287 MB / 479.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/0.1514, allocations: 2.172 MB / 481.9 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.1527, allocations: 0.692 MB / 482.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005919/0.1533, allocations: 347.3 kB / 482.9 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001725/0.1534, allocations: 105.5 kB / 483 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1535, allocations: 46.94 kB / 483.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.975e-06/0.1535, allocations: 0 / 483.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.008367/0.1619, allocations: 4.494 MB / 487.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.162, allocations: 222.1 kB / 487.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004161/0.1624, allocations: 362 kB / 488.1 MB, free: 10.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.1625, allocations: 41.7 kB / 488.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.1627, allocations: 269 kB / 488.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.163, allocations: 410 kB / 488.8 MB, free: 9.688 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.1633, allocations: 182.9 kB / 489 MB, free: 9.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1635, allocations: 374.8 kB / 489.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.1641, allocations: 322.4 kB / 489.7 MB, free: 8.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007946/0.1649, allocations: 0.5043 MB / 490.2 MB, free: 8.238 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.1664, allocations: 0.8731 MB / 491.1 MB, free: 7.297 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1665, allocations: 4 kB / 491.1 MB, free: 7.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001821/0.1683, allocations: 1.004 MB / 492.1 MB, free: 6.281 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.1683, allocations: 7.938 kB / 492.1 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.1683, allocations: 11.98 kB / 492.1 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.1684, allocations: 8 kB / 492.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.1694, allocations: 279.6 kB / 492.4 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.1695, allocations: 8.438 kB / 492.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/0.1699, allocations: 52.03 kB / 492.4 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.823e-05/0.17, allocations: 55.92 kB / 492.5 MB, free: 5.867 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.0003786/0.1704, allocations: 225.6 kB / 492.7 MB, free: 5.637 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002347/0.1707, allocations: 83.03 kB / 492.8 MB, free: 5.555 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004734/0.1711, allocations: 222.8 kB / 493 MB, free: 5.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.1712, allocations: 16 kB / 493 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.545e-05/0.1712, allocations: 4 kB / 493 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.1712, allocations: 3.984 kB / 493 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003774/0.175, allocations: 2.347 MB / 495.4 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.175, allocations: 4 kB / 495.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.1761, allocations: 255.9 kB / 495.6 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/0.1761, allocations: 12 kB / 495.7 MB, free: 2.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.1762, allocations: 31.94 kB / 495.7 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.1762, allocations: 11.98 kB / 495.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1762, allocations: 4 kB / 495.7 MB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.1787, allocations: 1.897 MB / 497.6 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.179, allocations: 204.2 kB / 497.8 MB, free: 400 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.441e-05/0.1791, allocations: 31.92 kB / 497.8 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005996/0.1797, allocations: 43.97 kB / 497.9 MB, free: 324 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/0.1799, allocations: 84.33 kB / 498 MB, free: 240 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.699e-05/0.1799, allocations: 35.98 kB / 498 MB, free: 204 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002568/0.1802, allocations: 251.2 kB / 498.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1802, allocations: 0 / 498.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008407/0.1811, allocations: 192 kB / 498.4 MB, free: 15.77 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.0001704/0.1812, allocations: 131.6 kB / 498.6 MB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.1828, allocations: 0.8401 MB / 499.4 MB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.1828, allocations: 4 kB / 499.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008232/0.1836, allocations: 494.6 kB / 499.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.1849, allocations: 126.8 kB / 0.4883 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.1884, allocations: 2.509 MB / 0.4907 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.1889, allocations: 0.9403 MB / 0.4917 GB, free: 10.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004358/0.1894, allocations: 101.7 kB / 0.4918 GB, free: 10.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.1896, allocations: 67.42 kB / 0.4918 GB, free: 10.47 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1896, allocations: 0 / 0.4918 GB, free: 10.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01321/0.2028, allocations: 6.746 MB / 0.4984 GB, free: 3.777 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