Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001751/0.001752, allocations: 183.2 kB / 8.481 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.2 MB / 214.1 MB, free: 5.496 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008988/0.0008989, allocations: 91.27 kB / 262.1 MB, free: 5.551 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.601e-06, allocations: 0 / 315 MB, free: 41.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07024/0.07026, allocations: 47.58 MB / 362.5 MB, free: 9.992 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2486/0.3189, allocations: 76.75 MB / 439.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.3192, allocations: 65.38 kB / 439.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.007573/0.3268, allocations: 2.782 MB / 442.1 MB, free: 10.46 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.3268, allocations: 7.625 kB / 442.1 MB, free: 10.46 MB / 314.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.0004897/0.3273, allocations: 436 kB / 442.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.3274, allocations: 11.56 kB / 442.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.918e-05/0.3274, allocations: 17.58 kB / 442.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3277, allocations: 207.2 kB / 442.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.3277, allocations: 7.625 kB / 442.8 MB, free: 9.859 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.3277, allocations: 15.69 kB / 442.8 MB, free: 9.852 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002003/0.3279, allocations: 83.38 kB / 442.9 MB, free: 9.848 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3281, allocations: 120.5 kB / 443 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3282, allocations: 3.844 kB / 443 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3282, allocations: 0.5156 kB / 443 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.3282, allocations: 3.844 kB / 443 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008218/0.329, allocations: 0.558 MB / 443.6 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3292, allocations: 75.59 kB / 443.7 MB, free: 9.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.3292, allocations: 39.56 kB / 443.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.3293, allocations: 0 / 443.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3293, allocations: 41.66 kB / 443.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.3293, allocations: 0 / 443.7 MB, free: 9.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001133/0.3304, allocations: 0.687 MB / 444.4 MB, free: 8.938 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.3305, allocations: 55.28 kB / 444.5 MB, free: 8.875 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.764e-05/0.3305, allocations: 127.9 kB / 444.6 MB, free: 8.777 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3306, allocations: 26.58 kB / 444.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.3306, allocations: 123.1 kB / 444.8 MB, free: 8.641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.3307, allocations: 64 kB / 444.8 MB, free: 8.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.3307, allocations: 3.938 kB / 444.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.3307, allocations: 328.9 kB / 445.1 MB, free: 8.277 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.3308, allocations: 32.75 kB / 445.2 MB, free: 8.273 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.3309, allocations: 66.03 kB / 445.2 MB, free: 8.242 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.462e-05/0.3309, allocations: 43.27 kB / 445.3 MB, free: 8.238 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.331, allocations: 224 / 445.3 MB, free: 8.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002835/0.3312, allocations: 176.3 kB / 445.5 MB, free: 8.184 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3313, allocations: 7.781 kB / 445.5 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.808e-06/0.3313, allocations: 4.547 kB / 445.5 MB, free: 8.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.3315, allocations: 33.23 kB / 445.5 MB, free: 8.172 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.3317, allocations: 37.23 kB / 445.5 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.3328, allocations: 1.358 MB / 446.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.3329, allocations: 0.75 kB / 446.9 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3329, allocations: 8.281 kB / 446.9 MB, free: 6.961 MB / 314.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.855e-05/0.333, allocations: 112 kB / 447 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.333, allocations: 15.47 kB / 447 MB, free: 6.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.3331, allocations: 18.27 kB / 447 MB, free: 6.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3331, allocations: 7.812 kB / 447.1 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.3331, allocations: 0.7031 kB / 447.1 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.3331, allocations: 0.6094 kB / 447.1 MB, free: 6.824 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006243/0.3337, allocations: 0.518 MB / 447.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3337, allocations: 0 / 447.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.3339, allocations: 31.08 kB / 447.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001089/0.334, allocations: 29.88 kB / 447.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.334, allocations: 8.672 kB / 447.6 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007282/0.3348, allocations: 1.301 MB / 448.9 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3348, allocations: 4.062 kB / 448.9 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003226/0.3351, allocations: 304.3 kB / 449.2 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.492e-05/0.3352, allocations: 89.64 kB / 449.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.3352, allocations: 0 / 449.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.3353, allocations: 4.812 kB / 449.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3353, allocations: 10.92 kB / 449.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3354, allocations: 7.844 kB / 449.4 MB, free: 5.023 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.516e-05/0.3354, allocations: 98.44 kB / 449.4 MB, free: 4.949 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000289/0.3357, allocations: 41.81 kB / 449.5 MB, free: 4.945 MB / 314.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.0001443/0.3359, allocations: 103.8 kB / 449.6 MB, free: 20.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.3362, allocations: 208.7 kB / 449.8 MB, free: 20.74 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3362, allocations: 4.125 kB / 449.8 MB, free: 20.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.3365, allocations: 172.1 kB / 450 MB, free: 20.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.3367, allocations: 17.98 kB / 450 MB, free: 20.63 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000657/0.3374, allocations: 336.7 kB / 450.3 MB, free: 20.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003335/0.3377, allocations: 0.7494 MB / 451.1 MB, free: 19.72 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3377, allocations: 4 kB / 451.1 MB, free: 19.72 MB / 330.7 MB Notification: Performance of Templates: time 0.0047/0.3424, allocations: 1.752 MB / 452.8 MB, free: 19.41 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches