Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") translateModel(Modelica.Mechanics.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") [: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 trunk/package.mo): time 0.001792/0.001792, allocations: 196.2 kB / 8.54 MB, free: 1.738 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.199/1.199, allocations: 225.5 MB / 234.4 MB, free: 3.391 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008645/0.0008646, allocations: 92.88 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.497e-06/9.708e-06, allocations: 4 kB / 343.1 MB, free: 8.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 51.48 MB / 394.6 MB, free: 5.211 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2614/0.3626, allocations: 78.59 MB / 473.2 MB, free: 13.13 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.3628, allocations: 69.47 kB / 473.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.007764/0.3706, allocations: 2.925 MB / 476.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.705e-05/0.3707, allocations: 4 kB / 476.2 MB, free: 11.57 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005589/0.3712, allocations: 434.2 kB / 476.6 MB, free: 11.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.3713, allocations: 8.219 kB / 476.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.3714, allocations: 15.81 kB / 476.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3717, allocations: 221 kB / 476.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3717, allocations: 11.91 kB / 476.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.3717, allocations: 11.38 kB / 476.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002343/0.372, allocations: 81.44 kB / 477 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.3723, allocations: 118 kB / 477.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.3723, allocations: 4 kB / 477.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.3723, allocations: 0 / 477.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3723, allocations: 4 kB / 477.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008388/0.3732, allocations: 0.547 MB / 477.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.3733, allocations: 81.48 kB / 477.7 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.3734, allocations: 40.09 kB / 477.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3734, allocations: 7.281 kB / 477.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.3734, allocations: 30.56 kB / 477.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.3734, allocations: 0 / 477.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001198/0.3746, allocations: 0.6863 MB / 478.5 MB, free: 9.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.3747, allocations: 59.31 kB / 478.5 MB, free: 9.441 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.3748, allocations: 121.4 kB / 478.7 MB, free: 9.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.3748, allocations: 29.7 kB / 478.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.3748, allocations: 122.5 kB / 478.8 MB, free: 9.191 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.186e-05/0.3749, allocations: 57.2 kB / 478.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.3749, allocations: 0 / 478.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.375, allocations: 325.5 kB / 479.2 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.375, allocations: 38.62 kB / 479.2 MB, free: 8.801 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.3751, allocations: 62.12 kB / 479.3 MB, free: 8.746 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.352e-05/0.3752, allocations: 47.42 kB / 479.3 MB, free: 8.723 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3752, allocations: 0 / 479.3 MB, free: 8.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002846/0.3755, allocations: 181.2 kB / 479.5 MB, free: 8.582 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.3755, allocations: 4 kB / 479.5 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3755, allocations: 4 kB / 479.5 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.3757, allocations: 38.31 kB / 479.5 MB, free: 8.547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.3759, allocations: 39.39 kB / 479.6 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009335/0.3768, allocations: 1.347 MB / 480.9 MB, free: 7.184 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.216e-05/0.3769, allocations: 8.047 kB / 480.9 MB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.377, allocations: 4 kB / 480.9 MB, free: 7.176 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.377, allocations: 115 kB / 481.1 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.3771, allocations: 11.81 kB / 481.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.3771, allocations: 18.19 kB / 481.1 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.3771, allocations: 3.422 kB / 481.1 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3771, allocations: 5.812 kB / 481.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3771, allocations: 4.031 kB / 481.1 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.3778, allocations: 0.5229 MB / 481.6 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.3778, allocations: 0 / 481.6 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.3779, allocations: 27.56 kB / 481.6 MB, free: 6.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.3781, allocations: 35.23 kB / 481.7 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3781, allocations: 0 / 481.7 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007259/0.3788, allocations: 1.306 MB / 483 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3788, allocations: 0 / 483 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003293/0.3792, allocations: 299 kB / 483.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.3792, allocations: 89.08 kB / 483.4 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.3792, allocations: 0 / 483.4 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3794, allocations: 7.375 kB / 483.4 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.3794, allocations: 10.12 kB / 483.4 MB, free: 4.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.3794, allocations: 5.562 kB / 483.4 MB, free: 4.852 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.711e-05/0.3795, allocations: 115.4 kB / 483.5 MB, free: 4.754 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.3798, allocations: 40 kB / 483.5 MB, free: 4.715 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.3799, allocations: 99.19 kB / 483.6 MB, free: 4.609 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003485/0.3803, allocations: 209.9 kB / 483.8 MB, free: 4.434 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3803, allocations: 0 / 483.8 MB, free: 4.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.3805, allocations: 168.3 kB / 484 MB, free: 4.285 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.3807, allocations: 18.73 kB / 484 MB, free: 4.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/0.3814, allocations: 342.5 kB / 484.4 MB, free: 3.973 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.3817, allocations: 0.7414 MB / 485.1 MB, free: 3.23 MB / 346.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3817, allocations: 4 kB / 485.1 MB, free: 3.227 MB / 346.7 MB Notification: Performance of Templates: time 0.004181/0.3859, allocations: 1.756 MB / 486.9 MB, free: 1.664 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches