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.001063/0.001063, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001405/0.001405, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.37/1.37, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2078/0.2078, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 64.92 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1122, allocations: 60.81 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.0057/0.1179, allocations: 4.113 MB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.1201, allocations: 1.071 MB / 474.4 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.1206, allocations: 15.94 kB / 474.4 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.1209, allocations: 98.91 kB / 474.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.1213, allocations: 198.2 kB / 474.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005223/0.1219, allocations: 191.6 kB / 474.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.1225, allocations: 0.7745 MB / 475.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003302/0.1229, allocations: 247.3 kB / 475.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000294/0.1232, allocations: 295 kB / 476.2 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.1235, allocations: 338.5 kB / 476.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.044e-05/0.1236, allocations: 56 kB / 476.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.1238, allocations: 95.92 kB / 476.7 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.1239, allocations: 143.5 kB / 476.8 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002788/0.1242, allocations: 350.2 kB / 477.2 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006071/0.1248, allocations: 0.7515 MB / 477.9 MB, free: 5.645 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1248, allocations: 0 / 477.9 MB, free: 5.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1248, allocations: 4 kB / 477.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.1248, allocations: 0 / 477.9 MB, free: 5.641 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.001715/0.1266, allocations: 1.001 MB / 478.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1266, allocations: 12.03 kB / 478.9 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.1267, allocations: 76.09 kB / 479 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.1272, allocations: 393.8 kB / 479.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.78e-05/0.1272, allocations: 41.69 kB / 479.4 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/0.1273, allocations: 76.25 kB / 479.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.1283, allocations: 0.6229 MB / 480.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.1284, allocations: 7.906 kB / 480.1 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/0.1284, allocations: 28 kB / 480.2 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1285, allocations: 12 kB / 480.2 MB, free: 3.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.1296, allocations: 0.5294 MB / 480.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.1323, allocations: 2.161 MB / 482.9 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.1334, allocations: 0.7182 MB / 483.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/0.134, allocations: 335.2 kB / 483.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.1342, allocations: 109.4 kB / 484 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1342, allocations: 43 kB / 484.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.355e-06/0.1342, allocations: 0 / 484.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.007268/0.1415, allocations: 4.497 MB / 488.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.1416, allocations: 222.1 kB / 488.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003231/0.1419, allocations: 362 kB / 489.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.142, allocations: 41.7 kB / 489.2 MB, free: 9.629 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.1421, allocations: 269 kB / 489.4 MB, free: 9.359 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.1424, allocations: 402 kB / 489.8 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.1426, allocations: 186.9 kB / 490 MB, free: 8.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1427, allocations: 382.8 kB / 490.4 MB, free: 8.391 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.1433, allocations: 318.4 kB / 490.7 MB, free: 8.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006937/0.144, allocations: 0.5057 MB / 491.2 MB, free: 7.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1454, allocations: 0.8687 MB / 492.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1454, allocations: 0 / 492.1 MB, free: 6.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001662/0.1471, allocations: 1.004 MB / 493.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1471, allocations: 11.94 kB / 493.1 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.1471, allocations: 7.984 kB / 493.1 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/0.1471, allocations: 12 kB / 493.1 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009925/0.1481, allocations: 283.7 kB / 493.4 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.1482, allocations: 8 kB / 493.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.1486, allocations: 51.97 kB / 493.4 MB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/0.1487, allocations: 44.3 kB / 493.5 MB, free: 5.152 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.0002976/0.149, allocations: 229.5 kB / 493.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.1492, allocations: 79.09 kB / 493.8 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004713/0.1497, allocations: 226.7 kB / 494 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.1497, allocations: 12 kB / 494 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.1497, allocations: 4 kB / 494 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.1497, allocations: 3.984 kB / 494 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003823/0.1536, allocations: 2.351 MB / 496.4 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.1536, allocations: 4 kB / 496.4 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.1546, allocations: 251.7 kB / 496.6 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.169e-05/0.1546, allocations: 8 kB / 496.6 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-05/0.1547, allocations: 27.94 kB / 496.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.199e-05/0.1547, allocations: 16 kB / 496.7 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1547, allocations: 12.27 kB / 496.7 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002507/0.1572, allocations: 1.897 MB / 498.6 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000369/0.1576, allocations: 200.2 kB / 498.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.1577, allocations: 31.94 kB / 498.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005744/0.1583, allocations: 47.97 kB / 498.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.1585, allocations: 84.33 kB / 498.9 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.1585, allocations: 35.98 kB / 499 MB, free: 15.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002724/0.1588, allocations: 247.2 kB / 499.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1588, allocations: 4 kB / 499.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008848/0.1597, allocations: 196 kB / 499.4 MB, free: 15.04 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.0001983/0.1599, allocations: 133.2 kB / 499.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001902/0.1618, allocations: 0.8997 MB / 0.4887 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1618, allocations: 4 kB / 0.4887 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008018/0.1626, allocations: 495.8 kB / 0.4892 GB, free: 13.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.1638, allocations: 131.4 kB / 0.4893 GB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.1675, allocations: 2.211 MB / 0.4915 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.168, allocations: 0.94 MB / 0.4924 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004672/0.1685, allocations: 109.7 kB / 0.4925 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.1686, allocations: 63.42 kB / 0.4926 GB, free: 9.961 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.1687, allocations: 0 / 0.4926 GB, free: 9.961 MB / 382.1 MB Notification: Performance of Templates: time 0.01468/0.1833, allocations: 7.252 MB / 0.4996 GB, free: 2.766 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