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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.3 MB / 214.4 MB, free: 1.73 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.0009347/0.0009347, allocations: 82.72 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.498e-05/1.501e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 47.58 MB / 363.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4181/0.5294, allocations: 77.07 MB / 440.1 MB, free: 2.574 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.5296, allocations: 64.78 kB / 440.2 MB, free: 2.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008026/0.5377, allocations: 3.092 MB / 443.3 MB, free: 0 / 314.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.5377, allocations: 0 / 443.3 MB, free: 0 / 314.7 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.5377, allocations: 4.047 kB / 443.3 MB, free: 15.99 MB / 330.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.0006128/0.5384, allocations: 434.1 kB / 443.7 MB, free: 15.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.5384, allocations: 8.797 kB / 443.7 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.5385, allocations: 23.91 kB / 443.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.5388, allocations: 216.6 kB / 444 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.5388, allocations: 4 kB / 444 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.5389, allocations: 15.95 kB / 444 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002082/0.5391, allocations: 77.05 kB / 444.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002417/0.5393, allocations: 122.6 kB / 444.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.5394, allocations: 2.078 kB / 444.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.5394, allocations: 0 / 444.2 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/0.5394, allocations: 8 kB / 444.2 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008687/0.5403, allocations: 0.5555 MB / 444.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.5405, allocations: 100.2 kB / 444.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.032e-05/0.5405, allocations: 30.67 kB / 444.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.5406, allocations: 3.984 kB / 444.9 MB, free: 14.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.5406, allocations: 38.56 kB / 444.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.5406, allocations: 0 / 444.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001371/0.542, allocations: 0.689 MB / 445.6 MB, free: 13.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.542, allocations: 58.72 kB / 445.7 MB, free: 13.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.5422, allocations: 124.2 kB / 445.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5422, allocations: 25.7 kB / 445.8 MB, free: 13.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.202e-05/0.5423, allocations: 134.7 kB / 445.9 MB, free: 13.39 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.5424, allocations: 62.17 kB / 446 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.5424, allocations: 0 / 446 MB, free: 13.33 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.5426, allocations: 318.6 kB / 446.3 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.859e-05/0.5427, allocations: 34.88 kB / 446.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.521e-05/0.5428, allocations: 69.7 kB / 446.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.683e-05/0.5429, allocations: 46.86 kB / 446.5 MB, free: 12.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5429, allocations: 3.938 kB / 446.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003146/0.5432, allocations: 166 kB / 446.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5432, allocations: 11.98 kB / 446.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.5432, allocations: 0 / 446.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.5434, allocations: 42.22 kB / 446.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.5436, allocations: 31.92 kB / 446.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.5449, allocations: 1.366 MB / 448.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.985e-05/0.545, allocations: 8.016 kB / 448.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.5451, allocations: 7.625 kB / 448.1 MB, free: 11.29 MB / 330.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 9.353e-05/0.5452, allocations: 112.9 kB / 448.2 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.401e-05/0.5452, allocations: 11.81 kB / 448.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.5452, allocations: 15.62 kB / 448.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5453, allocations: 8.062 kB / 448.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.5453, allocations: 0 / 448.2 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.5453, allocations: 3.984 kB / 448.2 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000713/0.546, allocations: 0.5179 MB / 448.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.546, allocations: 3.953 kB / 448.8 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.5462, allocations: 34.98 kB / 448.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001032/0.5463, allocations: 32.2 kB / 448.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.5463, allocations: 0 / 448.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001056/0.5474, allocations: 1.318 MB / 450.1 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.5474, allocations: 0 / 450.1 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.5478, allocations: 298.1 kB / 450.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.5478, allocations: 92.94 kB / 450.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.5479, allocations: 4.266 kB / 450.5 MB, free: 8.844 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.252e-05/0.548, allocations: 4 kB / 450.5 MB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/0.548, allocations: 11.97 kB / 450.5 MB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.548, allocations: 7.25 kB / 450.5 MB, free: 8.824 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.342e-05/0.5481, allocations: 102.2 kB / 450.6 MB, free: 8.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5481, allocations: 0 / 450.6 MB, free: 8.73 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002936/0.5484, allocations: 40 kB / 450.7 MB, free: 8.691 MB / 330.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.0001339/0.5486, allocations: 95.25 kB / 450.8 MB, free: 8.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003988/0.549, allocations: 231.4 kB / 451 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.549, allocations: 0 / 451 MB, free: 8.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.5492, allocations: 170.4 kB / 451.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.5495, allocations: 20.67 kB / 451.2 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.5502, allocations: 342.8 kB / 451.5 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.5505, allocations: 0.7358 MB / 452.3 MB, free: 7.117 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.981e-05/0.5506, allocations: 13.2 kB / 452.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.5506, allocations: 11.44 kB / 452.3 MB, free: 7.094 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5506, allocations: 4 kB / 452.3 MB, free: 7.09 MB / 330.7 MB Notification: Performance of Templates: time 0.004457/0.5551, allocations: 1.52 MB / 453.8 MB, free: 5.582 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