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.0008587/0.0008588, allocations: 94.55 kB / 18 MB, free: 5.602 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.001/0.001, allocations: 177.6 kB / 18.91 MB, free: 4.738 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.369/1.369, allocations: 223.3 MB / 243 MB, free: 24 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.2115/0.2115, allocations: 44.26 MB / 338.3 MB, free: 2.609 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 10.03 kB / 411 MB, free: 27.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1151, allocations: 61.92 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00519/0.1203, allocations: 3.726 MB / 476.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.1228, allocations: 1.051 MB / 477.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006043/0.1235, allocations: 11.94 kB / 477.7 MB, free: 8.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.1238, allocations: 71.41 kB / 477.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.1245, allocations: 174.5 kB / 477.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006527/0.1252, allocations: 171.8 kB / 478.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.1263, allocations: 0.7354 MB / 478.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.1267, allocations: 210.6 kB / 479 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004777/0.1272, allocations: 270.9 kB / 479.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/0.1277, allocations: 298.5 kB / 479.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.1278, allocations: 36 kB / 479.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002212/0.128, allocations: 59.98 kB / 479.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.1282, allocations: 111.5 kB / 479.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003787/0.1285, allocations: 343.8 kB / 480.1 MB, free: 6.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005946/0.1292, allocations: 0.5456 MB / 480.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1292, allocations: 0 / 480.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1292, allocations: 0 / 480.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.854e-05/0.1292, allocations: 0 / 480.7 MB, free: 5.504 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.002063/0.1313, allocations: 0.912 MB / 481.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.1313, allocations: 8.031 kB / 481.6 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001983/0.1316, allocations: 80 kB / 481.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005782/0.1321, allocations: 393.8 kB / 482.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.246e-05/0.1322, allocations: 45.69 kB / 482.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.1323, allocations: 68.19 kB / 482.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1337, allocations: 0.6503 MB / 482.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.327e-05/0.1337, allocations: 11.89 kB / 482.8 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.1338, allocations: 24 kB / 482.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.1338, allocations: 16 kB / 482.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.1351, allocations: 0.5646 MB / 483.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.1384, allocations: 2.184 MB / 485.6 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.1397, allocations: 0.6999 MB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006638/0.1404, allocations: 363.1 kB / 486.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.1406, allocations: 101.8 kB / 486.8 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.1406, allocations: 54.77 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.835e-06/0.1407, allocations: 0 / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.008661/0.1493, allocations: 4.626 MB / 491.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/0.1495, allocations: 230.2 kB / 491.7 MB, free: 9.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.1499, allocations: 362 kB / 492 MB, free: 9.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.15, allocations: 42.08 kB / 492.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001974/0.1502, allocations: 264.9 kB / 492.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.1505, allocations: 410 kB / 492.7 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.1507, allocations: 89.67 kB / 492.8 MB, free: 8.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1509, allocations: 386.7 kB / 493.2 MB, free: 8.191 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006983/0.1516, allocations: 338.4 kB / 493.5 MB, free: 7.859 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/0.1524, allocations: 0.5239 MB / 494.1 MB, free: 7.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.1539, allocations: 0.9054 MB / 495 MB, free: 6.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.1539, allocations: 4 kB / 495 MB, free: 6.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00201/0.156, allocations: 1.045 MB / 496 MB, free: 5.238 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.156, allocations: 11.94 kB / 496 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.156, allocations: 4 kB / 496 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.921e-05/0.1561, allocations: 12 kB / 496 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.1571, allocations: 287.6 kB / 496.3 MB, free: 4.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.18e-05/0.1572, allocations: 16.02 kB / 496.3 MB, free: 4.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005454/0.1577, allocations: 67.97 kB / 496.4 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.789e-05/0.1578, allocations: 40 kB / 496.4 MB, free: 4.809 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.0003798/0.1582, allocations: 233.5 kB / 496.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.1585, allocations: 83.09 kB / 496.7 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005051/0.159, allocations: 218.8 kB / 497 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.159, allocations: 12 kB / 497 MB, free: 4.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.159, allocations: 4 kB / 497 MB, free: 4.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.1591, allocations: 7.969 kB / 497 MB, free: 4.238 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004217/0.1633, allocations: 2.394 MB / 499.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.1633, allocations: 4 kB / 499.4 MB, free: 1.746 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.1644, allocations: 259.6 kB / 499.6 MB, free: 1.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-05/0.1644, allocations: 8 kB / 499.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.1645, allocations: 40.23 kB / 499.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.39e-05/0.1645, allocations: 12 kB / 499.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.1645, allocations: 4 kB / 499.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.1674, allocations: 1.951 MB / 0.4899 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.1677, allocations: 204.2 kB / 0.4901 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.1679, allocations: 27.94 kB / 0.4901 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006654/0.1685, allocations: 51.97 kB / 0.4902 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/0.1687, allocations: 88.33 kB / 0.4902 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.795e-05/0.1688, allocations: 35.98 kB / 0.4903 GB, free: 15.01 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002756/0.1691, allocations: 251.2 kB / 0.4905 GB, free: 14.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1691, allocations: 4 kB / 0.4905 GB, free: 14.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009201/0.17, allocations: 192 kB / 0.4907 GB, free: 14.58 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.0002247/0.1702, allocations: 131 kB / 0.4908 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00179/0.172, allocations: 0.8759 MB / 0.4917 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.1721, allocations: 0 / 0.4917 GB, free: 13.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009239/0.173, allocations: 0.5083 MB / 0.4922 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.1745, allocations: 133.3 kB / 0.4923 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.1788, allocations: 2.758 MB / 0.495 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.1795, allocations: 0.9364 MB / 0.4959 GB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.1798, allocations: 71.42 kB / 0.496 GB, free: 9.059 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.1798, allocations: 4 kB / 0.496 GB, free: 9.055 MB / 382.1 MB Notification: Performance of Templates: time 0.01576/0.1956, allocations: 8.815 MB / 0.5046 GB, free: 256 kB / 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/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