Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 184.9 kB / 8.139 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.4 MB / 229.9 MB, free: 2.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009145/0.0009146, allocations: 88.61 kB / 280.8 MB, free: 1.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.562e-06/6.592e-06, allocations: 0 / 336.5 MB, free: 9.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2293, allocations: 50.39 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09003/0.3194, allocations: 78.29 MB / 465.2 MB, free: 8.488 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.3197, allocations: 78.5 kB / 465.3 MB, free: 8.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02591/0.3457, allocations: 9.192 MB / 474.5 MB, free: 15.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.379e-05/0.3457, allocations: 8 kB / 474.5 MB, free: 15.23 MB / 362.7 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.001341/0.3471, allocations: 0.752 MB / 475.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3471, allocations: 8.031 kB / 475.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.3472, allocations: 55.34 kB / 475.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.3476, allocations: 309.7 kB / 475.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.3477, allocations: 16 kB / 475.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.674e-05/0.3477, allocations: 28 kB / 475.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005986/0.3483, allocations: 349.8 kB / 476 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005724/0.3489, allocations: 328.5 kB / 476.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.349, allocations: 11.98 kB / 476.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.349, allocations: 0 / 476.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.349, allocations: 8 kB / 476.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.3512, allocations: 1.318 MB / 477.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/0.3517, allocations: 303.7 kB / 477.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.3523, allocations: 315.3 kB / 478.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.3523, allocations: 8.656 kB / 478.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.3524, allocations: 39.22 kB / 478.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=67): time 2.314e-06/0.3524, allocations: 4 kB / 478.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=103): time 0.003966/0.3563, allocations: 2.194 MB / 480.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3564, allocations: 60.41 kB / 480.5 MB, free: 8.906 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.3566, allocations: 197 kB / 480.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.3567, allocations: 26.64 kB / 480.8 MB, free: 8.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.895e-05/0.3568, allocations: 173.2 kB / 480.9 MB, free: 8.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002441/0.357, allocations: 338.9 kB / 481.3 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.3571, allocations: 0 / 481.3 MB, free: 8.164 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3572, allocations: 358.8 kB / 481.6 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003455/0.3576, allocations: 206 kB / 481.8 MB, free: 7.602 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/0.358, allocations: 279.5 kB / 482.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.3584, allocations: 226.9 kB / 482.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3584, allocations: 0 / 482.3 MB, free: 7.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.00103/0.3594, allocations: 0.6317 MB / 482.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3595, allocations: 4.656 kB / 482.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.3595, allocations: 0 / 482.9 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.3595, allocations: 4 kB / 482.9 MB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008847/0.3604, allocations: 227.8 kB / 483.2 MB, free: 6.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/0.3604, allocations: 8.922 kB / 483.2 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.3608, allocations: 47.97 kB / 483.2 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.3609, allocations: 35.92 kB / 483.3 MB, free: 6.145 MB / 362.7 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 () * 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.0001433/0.361, allocations: 119.2 kB / 483.4 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.3611, allocations: 55.34 kB / 483.4 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.3613, allocations: 61.36 kB / 483.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3613, allocations: 8 kB / 483.5 MB, free: 5.898 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/0.3614, allocations: 4 kB / 483.5 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.3614, allocations: 3.984 kB / 483.5 MB, free: 5.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.3639, allocations: 1.743 MB / 485.2 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.3639, allocations: 12.03 kB / 485.3 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008849/0.3648, allocations: 215.7 kB / 485.5 MB, free: 3.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-05/0.3648, allocations: 11.98 kB / 485.5 MB, free: 3.809 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.925e-05/0.3649, allocations: 15.94 kB / 485.5 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-05/0.3649, allocations: 11.94 kB / 485.5 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.3649, allocations: 11.98 kB / 485.5 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001635/0.3666, allocations: 1.387 MB / 486.9 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.3667, allocations: 124.5 kB / 487 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.127e-05/0.3668, allocations: 7.984 kB / 487 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.3673, allocations: 51.97 kB / 487.1 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.3674, allocations: 64.61 kB / 487.1 MB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.3675, allocations: 35.98 kB / 487.2 MB, free: 1.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001316/0.3676, allocations: 149.2 kB / 487.3 MB, free: 1.746 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005298/0.3681, allocations: 128 kB / 487.5 MB, free: 1.621 MB / 362.7 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 () * 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.0001768/0.3683, allocations: 126.2 kB / 487.6 MB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009034/0.3692, allocations: 0.5892 MB / 488.2 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3693, allocations: 4 kB / 488.2 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.3698, allocations: 371.6 kB / 488.5 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006241/0.3704, allocations: 83.53 kB / 488.6 MB, free: 472 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.3727, allocations: 1.21 MB / 489.8 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006559/0.3734, allocations: 0.9383 MB / 490.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of SimCode: time 8.11e-07/0.3734, allocations: 4 kB / 490.8 MB, free: 14.19 MB / 378.7 MB Notification: Performance of Templates: time 0.0123/0.3857, allocations: 6.842 MB / 497.6 MB, free: 7.414 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches