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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001728/0.001728, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 88.12 kB / 292.1 MB, free: 5.918 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.172e-05/3.174e-05, allocations: 0 / 350.5 MB, free: 2.574 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1201, allocations: 51.48 MB / 402 MB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.5345, allocations: 79.33 MB / 481.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5348, allocations: 71.73 kB / 481.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009794/0.5446, allocations: 3.252 MB / 484.7 MB, free: 7.449 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5447, allocations: 0 / 484.7 MB, free: 7.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.658e-05/0.5447, allocations: 4 kB / 484.7 MB, free: 7.445 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.0005565/0.5453, allocations: 436.8 kB / 485.1 MB, free: 6.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5454, allocations: 12.03 kB / 485.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.5454, allocations: 15.81 kB / 485.1 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.5457, allocations: 214.9 kB / 485.3 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.5458, allocations: 16.42 kB / 485.3 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.5458, allocations: 15.94 kB / 485.4 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.5462, allocations: 150.5 kB / 485.5 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.5462, allocations: 0 / 485.5 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.5463, allocations: 11.56 kB / 485.5 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.5463, allocations: 6.344 kB / 485.5 MB, free: 6.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.5465, allocations: 82.98 kB / 485.6 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/0.5475, allocations: 0.6003 MB / 486.2 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.5477, allocations: 105.5 kB / 486.3 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.562e-05/0.5478, allocations: 36.92 kB / 486.3 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.5479, allocations: 4 kB / 486.4 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.5479, allocations: 43.23 kB / 486.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.5479, allocations: 0 / 486.4 MB, free: 5.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001403/0.5493, allocations: 0.7437 MB / 487.1 MB, free: 5.086 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.5494, allocations: 58.58 kB / 487.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.5495, allocations: 142.2 kB / 487.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.5495, allocations: 25.7 kB / 487.4 MB, free: 4.859 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.5496, allocations: 135.2 kB / 487.5 MB, free: 4.742 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.5497, allocations: 60.91 kB / 487.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.5497, allocations: 3.438 kB / 487.6 MB, free: 4.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.5498, allocations: 325.8 kB / 487.9 MB, free: 4.367 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.5499, allocations: 43.31 kB / 487.9 MB, free: 4.336 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.55, allocations: 64.31 kB / 488 MB, free: 4.277 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.5501, allocations: 48.94 kB / 488 MB, free: 4.246 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5501, allocations: 0 / 488 MB, free: 4.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004069/0.5505, allocations: 198.9 kB / 488.2 MB, free: 4.082 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5506, allocations: 9.219 kB / 488.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.5506, allocations: 0 / 488.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.5508, allocations: 40.14 kB / 488.3 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.551, allocations: 35.61 kB / 488.3 MB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.5521, allocations: 1.423 MB / 489.7 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.5522, allocations: 11.39 kB / 489.7 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.5523, allocations: 4 kB / 489.7 MB, free: 2.559 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 8.587e-05/0.5523, allocations: 119.6 kB / 489.9 MB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.5524, allocations: 7.906 kB / 489.9 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.5525, allocations: 19.44 kB / 489.9 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5525, allocations: 4 kB / 489.9 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5525, allocations: 0 / 489.9 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5525, allocations: 3.938 kB / 489.9 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000838/0.5534, allocations: 0.5863 MB / 490.5 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.5534, allocations: 224 / 490.5 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/0.5536, allocations: 31.92 kB / 490.5 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.5537, allocations: 35.78 kB / 490.5 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.5537, allocations: 0 / 490.5 MB, free: 1.797 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009301/0.5547, allocations: 1.37 MB / 491.9 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5547, allocations: 0 / 491.9 MB, free: 388 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004737/0.5552, allocations: 320.7 kB / 492.2 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.294e-05/0.5553, allocations: 88.95 kB / 492.3 MB, free: 0 / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.5553, allocations: 2.359 kB / 492.3 MB, free: 16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/0.5555, allocations: 11.88 kB / 492.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.5555, allocations: 23.05 kB / 492.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.5556, allocations: 0 / 492.4 MB, free: 15.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001313/0.5557, allocations: 119.8 kB / 492.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5557, allocations: 0 / 492.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004517/0.5562, allocations: 42.75 kB / 492.5 MB, free: 15.83 MB / 362.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.0001765/0.5564, allocations: 101.2 kB / 492.6 MB, free: 15.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005384/0.5569, allocations: 243.2 kB / 492.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.5569, allocations: 0 / 492.8 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.5572, allocations: 192.2 kB / 493 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.5576, allocations: 25.06 kB / 493.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009574/0.5586, allocations: 352.6 kB / 493.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.559, allocations: 0.7324 MB / 494.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.5591, allocations: 17.33 kB / 494.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.5592, allocations: 15.44 kB / 494.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.5592, allocations: 3.938 kB / 494.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of Templates: time 0.00648/0.5657, allocations: 1.659 MB / 495.8 MB, free: 12.6 MB / 362.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