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.001528/0.001528, allocations: 110.5 kB / 17.93 MB, free: 5.566 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.001826/0.001827, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.682/1.682, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001187/0.001187, allocations: 43.94 kB / 280.8 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1153, allocations: 46.63 MB / 327.4 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.004802/0.1201, allocations: 3.546 MB / 331 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1218, allocations: 0.9122 MB / 331.9 MB, free: 324 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.122, allocations: 11.94 kB / 331.9 MB, free: 312 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000226/0.1223, allocations: 55.55 kB / 332 MB, free: 256 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1225, allocations: 123 kB / 332.1 MB, free: 132 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004362/0.123, allocations: 135.9 kB / 332.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005495/0.1235, allocations: 0.5918 MB / 332.8 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000353/0.1239, allocations: 193.5 kB / 333 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/0.1242, allocations: 235.2 kB / 333.2 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.1245, allocations: 270.9 kB / 333.5 MB, free: 14.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-05/0.1246, allocations: 56 kB / 333.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.1246, allocations: 52 kB / 333.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.1247, allocations: 115.6 kB / 333.7 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002271/0.125, allocations: 286.6 kB / 334 MB, free: 14.22 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000419/0.1254, allocations: 451.1 kB / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1254, allocations: 0 / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1254, allocations: 0 / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.176e-06/0.1254, allocations: 0 / 334.4 MB, free: 13.78 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.001798/0.1272, allocations: 0.842 MB / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1273, allocations: 8.031 kB / 335.3 MB, free: 12.88 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.1274, allocations: 56.28 kB / 335.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.1278, allocations: 331.2 kB / 335.6 MB, free: 12.46 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.853e-05/0.1279, allocations: 29.38 kB / 335.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.128, allocations: 52.36 kB / 335.7 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009245/0.129, allocations: 458.7 kB / 336.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.129, allocations: 4 kB / 336.2 MB, free: 11.92 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/0.129, allocations: 20 kB / 336.2 MB, free: 11.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.1291, allocations: 8 kB / 336.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.1301, allocations: 463.6 kB / 336.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.1326, allocations: 1.398 MB / 338.1 MB, free: 9.98 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.1338, allocations: 0.5324 MB / 338.6 MB, free: 9.438 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007696/0.1346, allocations: 366.9 kB / 338.9 MB, free: 9.078 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.161e-05/0.1346, allocations: 16.55 kB / 339 MB, free: 9.062 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.1347, allocations: 43.12 kB / 339 MB, free: 9.012 MB / 286.1 MB Notification: Performance of pre-optimization done (n=67): time 2.545e-06/0.1347, allocations: 0 / 339 MB, free: 9.012 MB / 286.1 MB Notification: Performance of matching and sorting (n=103): time 0.007543/0.1422, allocations: 3.135 MB / 342.1 MB, free: 5.789 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.1423, allocations: 64.41 kB / 342.2 MB, free: 5.711 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.1426, allocations: 254.9 kB / 342.5 MB, free: 5.453 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.1427, allocations: 41.7 kB / 342.5 MB, free: 5.406 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.1429, allocations: 189.3 kB / 342.7 MB, free: 5.215 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.1431, allocations: 354.8 kB / 343 MB, free: 4.863 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.1434, allocations: 150.7 kB / 343.2 MB, free: 4.711 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002477/0.1436, allocations: 354.8 kB / 343.5 MB, free: 4.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.1442, allocations: 277.8 kB / 343.8 MB, free: 4.086 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.1448, allocations: 349.4 kB / 344.1 MB, free: 3.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.1461, allocations: 0.6234 MB / 344.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1461, allocations: 0 / 344.8 MB, free: 3.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001636/0.1477, allocations: 0.778 MB / 345.5 MB, free: 2.316 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1478, allocations: 8.062 kB / 345.5 MB, free: 2.309 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.1478, allocations: 4 kB / 345.5 MB, free: 2.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.1478, allocations: 7.938 kB / 345.5 MB, free: 2.297 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008329/0.1486, allocations: 207.7 kB / 345.8 MB, free: 2.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1487, allocations: 7.984 kB / 345.8 MB, free: 2.086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.1491, allocations: 51.95 kB / 345.8 MB, free: 2.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/0.1491, allocations: 27.94 kB / 345.8 MB, free: 2.008 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 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003434/0.1495, allocations: 197.7 kB / 346 MB, free: 1.805 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.1496, allocations: 55.34 kB / 346.1 MB, free: 1.75 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.1498, allocations: 81.31 kB / 346.2 MB, free: 1.672 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/0.1498, allocations: 8 kB / 346.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/0.1499, allocations: 0 / 346.2 MB, free: 1.664 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.1499, allocations: 7.969 kB / 346.2 MB, free: 1.656 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.1533, allocations: 1.99 MB / 348.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.1533, allocations: 4 kB / 348.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008279/0.1542, allocations: 203.7 kB / 348.4 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.05e-05/0.1542, allocations: 8 kB / 348.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.1543, allocations: 36.39 kB / 348.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/0.1543, allocations: 12 kB / 348.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.899e-06/0.1543, allocations: 11.94 kB / 348.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.1567, allocations: 1.364 MB / 349.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1568, allocations: 128.5 kB / 349.9 MB, free: 13.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.816e-05/0.1569, allocations: 32.05 kB / 350 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.1573, allocations: 43.97 kB / 350 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.1575, allocations: 80.78 kB / 350.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.1575, allocations: 31.98 kB / 350.1 MB, free: 13.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001829/0.1577, allocations: 178 kB / 350.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1577, allocations: 0 / 350.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005715/0.1583, allocations: 156 kB / 350.4 MB, free: 13.19 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 (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.0002176/0.1585, allocations: 135 kB / 350.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.1605, allocations: 0.7697 MB / 351.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1605, allocations: 4.125 kB / 351.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000789/0.1613, allocations: 446.5 kB / 351.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/0.1622, allocations: 119.8 kB / 351.9 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.165, allocations: 1.799 MB / 353.7 MB, free: 9.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.1657, allocations: 0.8606 MB / 354.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.1659, allocations: 75.41 kB / 354.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1659, allocations: 0 / 354.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of Templates: time 0.0117/0.1776, allocations: 7.256 MB / 361.9 MB, free: 1.586 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/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