Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 97.88 kB / 16.93 MB, free: 5.984 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.001322/0.001323, allocations: 179.3 kB / 17.82 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.525/1.525, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006842/0.0006842, allocations: 8 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1251, allocations: 47.58 MB / 328.3 MB, free: 4.121 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.003332/0.1284, allocations: 2.822 MB / 331.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1299, allocations: 0.9089 MB / 332.1 MB, free: 372 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001899/0.1301, allocations: 8 kB / 332.1 MB, free: 364 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.857e-05/0.1302, allocations: 51.53 kB / 332.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1305, allocations: 179.5 kB / 332.3 MB, free: 132 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004297/0.131, allocations: 111.8 kB / 332.4 MB, free: 20 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.1315, allocations: 395.8 kB / 332.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003107/0.1319, allocations: 162 kB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.1321, allocations: 199.3 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1324, allocations: 235 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.606e-05/0.1325, allocations: 28 kB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.44e-05/0.1326, allocations: 28 kB / 333.4 MB, free: 15 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.581e-05/0.1327, allocations: 87.66 kB / 333.5 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.1328, allocations: 117.4 kB / 333.6 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004336/0.1332, allocations: 439 kB / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1332, allocations: 0 / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1332, allocations: 0 / 334 MB, free: 14.36 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1333, allocations: 0 / 334 MB, free: 14.36 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00165/0.1349, allocations: 0.7913 MB / 334.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.135, allocations: 12.03 kB / 334.8 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.1351, allocations: 55.34 kB / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.1355, allocations: 322.1 kB / 335.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.832e-05/0.1356, allocations: 37 kB / 335.3 MB, free: 13.06 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.169e-05/0.1357, allocations: 47.91 kB / 335.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008888/0.1366, allocations: 462.4 kB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.1366, allocations: 4 kB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.1367, allocations: 20 kB / 335.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.1367, allocations: 8 kB / 335.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.1377, allocations: 499.6 kB / 336.3 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002338/0.1401, allocations: 1.394 MB / 337.7 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009682/0.1411, allocations: 0.5519 MB / 338.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.1411, allocations: 16.5 kB / 338.2 MB, free: 10 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1412, allocations: 39.12 kB / 338.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 1.763e-06/0.1412, allocations: 0 / 338.3 MB, free: 9.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.0071/0.1483, allocations: 3.274 MB / 341.5 MB, free: 6.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.1483, allocations: 68.41 kB / 341.6 MB, free: 6.52 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.1486, allocations: 247 kB / 341.9 MB, free: 6.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.815e-05/0.1487, allocations: 41.7 kB / 341.9 MB, free: 6.223 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.1488, allocations: 197.2 kB / 342.1 MB, free: 6.023 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.1491, allocations: 354.8 kB / 342.4 MB, free: 5.672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.1491, allocations: 16 kB / 342.4 MB, free: 5.656 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1493, allocations: 362.8 kB / 342.8 MB, free: 5.293 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005813/0.1499, allocations: 285.8 kB / 343.1 MB, free: 5.012 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006297/0.1505, allocations: 357.4 kB / 343.4 MB, free: 4.656 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006172/0.1511, allocations: 314.9 kB / 343.7 MB, free: 4.352 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1512, allocations: 3.938 kB / 343.7 MB, free: 4.348 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001484/0.1526, allocations: 0.8093 MB / 344.6 MB, free: 3.527 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.1527, allocations: 8 kB / 344.6 MB, free: 3.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1527, allocations: 4.031 kB / 344.6 MB, free: 3.516 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1527, allocations: 7.938 kB / 344.6 MB, free: 3.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.1535, allocations: 219.7 kB / 344.8 MB, free: 3.293 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.576e-05/0.1536, allocations: 4 kB / 344.8 MB, free: 3.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.1539, allocations: 59.91 kB / 344.8 MB, free: 3.23 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-05/0.154, allocations: 31.98 kB / 344.9 MB, free: 3.199 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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.0002385/0.1542, allocations: 185.7 kB / 345.1 MB, free: 3.008 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.1543, allocations: 51.44 kB / 345.1 MB, free: 2.957 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.1545, allocations: 77.39 kB / 345.2 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.1545, allocations: 8 kB / 345.2 MB, free: 2.875 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.1545, allocations: 3.953 kB / 345.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.1545, allocations: 11.97 kB / 345.2 MB, free: 2.859 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.1575, allocations: 2.025 MB / 347.2 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.1576, allocations: 4 kB / 347.2 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007826/0.1583, allocations: 211.7 kB / 347.4 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.1584, allocations: 12 kB / 347.5 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.469e-05/0.1584, allocations: 24.25 kB / 347.5 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/0.1584, allocations: 19.92 kB / 347.5 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.1585, allocations: 8 kB / 347.5 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.161, allocations: 1.638 MB / 349.1 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1612, allocations: 120.5 kB / 349.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/0.1613, allocations: 35.98 kB / 349.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003951/0.1617, allocations: 59.92 kB / 349.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.1618, allocations: 76.8 kB / 349.4 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/0.1619, allocations: 35.98 kB / 349.5 MB, free: 14.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001654/0.162, allocations: 174 kB / 349.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.162, allocations: 0 / 349.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000472/0.1625, allocations: 152 kB / 349.8 MB, free: 13.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0001892/0.1627, allocations: 134.8 kB / 349.9 MB, free: 13.81 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.1641, allocations: 0.7504 MB / 350.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1642, allocations: 0 / 350.7 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.1649, allocations: 466.6 kB / 351.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.1656, allocations: 108.1 kB / 351.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.1682, allocations: 1.825 MB / 353.1 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.1686, allocations: 0.8774 MB / 353.9 MB, free: 9.691 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002888/0.1689, allocations: 76.97 kB / 354 MB, free: 9.613 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.1691, allocations: 59.42 kB / 354.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1691, allocations: 0 / 354.1 MB, free: 9.555 MB / 302.1 MB Notification: Performance of Templates: time 0.0107/0.1798, allocations: 5.732 MB / 359.8 MB, free: 3.828 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches