Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.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.Rotational.Examples.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|inertia.phi|inertia.w",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 184.7 kB / 8.135 MB, free: 2.676 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 221.4 MB / 229.9 MB, free: 7.668 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008751/0.0008751, allocations: 100.1 kB / 280.8 MB, free: 5.141 MB / 222.1 MB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.995e-06, allocations: 4 kB / 336.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2094, allocations: 50.39 MB / 386.9 MB, free: 40.41 MB / 302.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08472/0.2941, allocations: 77.77 MB / 464.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.2943, allocations: 67.91 kB / 464.7 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.008141/0.3025, allocations: 2.862 MB / 467.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.3025, allocations: 5.312 kB / 467.6 MB, free: 9.887 MB / 350.1 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.0004884/0.303, allocations: 436.4 kB / 468 MB, free: 9.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3031, allocations: 8.031 kB / 468 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.209e-05/0.3031, allocations: 23.72 kB / 468.1 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.3034, allocations: 218.9 kB / 468.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.3034, allocations: 4 kB / 468.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.3034, allocations: 19.91 kB / 468.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002091/0.3037, allocations: 83.92 kB / 468.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.3039, allocations: 121.4 kB / 468.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3039, allocations: 0 / 468.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3039, allocations: 0 / 468.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.304, allocations: 4 kB / 468.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000822/0.3048, allocations: 0.5564 MB / 469.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.3049, allocations: 80.05 kB / 469.1 MB, free: 8.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.234e-05/0.305, allocations: 36.86 kB / 469.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.305, allocations: 0 / 469.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.305, allocations: 38.5 kB / 469.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.3051, allocations: 224 / 469.2 MB, free: 8.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001207/0.3063, allocations: 0.6914 MB / 469.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.3063, allocations: 55.34 kB / 470 MB, free: 7.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3064, allocations: 127.4 kB / 470.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3064, allocations: 25.7 kB / 470.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.3065, allocations: 128.3 kB / 470.2 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.3066, allocations: 59.11 kB / 470.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/0.3066, allocations: 0 / 470.3 MB, free: 6.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3067, allocations: 330.8 kB / 470.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.3067, allocations: 32.38 kB / 470.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.541e-05/0.3068, allocations: 60 kB / 470.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.557e-05/0.3069, allocations: 47.92 kB / 470.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3069, allocations: 0 / 470.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000309/0.3073, allocations: 178.2 kB / 470.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.3073, allocations: 4 kB / 470.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3073, allocations: 0 / 470.9 MB, free: 6.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/0.3074, allocations: 36.84 kB / 471 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.3076, allocations: 35.97 kB / 471 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.3088, allocations: 1.353 MB / 472.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.88e-05/0.3089, allocations: 6.609 kB / 472.4 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.3089, allocations: 8.109 kB / 472.4 MB, free: 4.711 MB / 350.1 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 7.842e-05/0.309, allocations: 109 kB / 472.5 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.3091, allocations: 19.88 kB / 472.5 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.718e-05/0.3091, allocations: 12.69 kB / 472.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.3091, allocations: 7.938 kB / 472.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.3091, allocations: 0 / 472.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3091, allocations: 3.984 kB / 472.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006811/0.3098, allocations: 0.5131 MB / 473 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3098, allocations: 5.5 kB / 473 MB, free: 3.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.31, allocations: 35.97 kB / 473.1 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.3101, allocations: 24.84 kB / 473.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3102, allocations: 8 kB / 473.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.3113, allocations: 1.302 MB / 474.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3113, allocations: 4.062 kB / 474.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004465/0.3118, allocations: 296.1 kB / 474.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.3118, allocations: 93.02 kB / 474.8 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.3119, allocations: 8.125 kB / 474.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.312, allocations: 4 kB / 474.8 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.3121, allocations: 16.03 kB / 474.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.3121, allocations: 4 kB / 474.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.615e-05/0.3122, allocations: 102.2 kB / 474.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000338/0.3125, allocations: 40 kB / 475 MB, free: 1.91 MB / 350.1 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.0001952/0.3127, allocations: 103.1 kB / 475.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004827/0.3132, allocations: 213.6 kB / 475.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3132, allocations: 4.125 kB / 475.3 MB, free: 1.578 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.3135, allocations: 167.9 kB / 475.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.3138, allocations: 19.3 kB / 475.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.3146, allocations: 342.7 kB / 475.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/0.3149, allocations: 0.7425 MB / 476.5 MB, free: 272 kB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3149, allocations: 4 kB / 476.5 MB, free: 268 kB / 350.1 MB Notification: Performance of Templates: time 0.004477/0.3194, allocations: 1.76 MB / 478.3 MB, free: 14.55 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches