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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 176.5 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 230.3 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 109.4 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.71e-05/1.712e-05, allocations: 4 kB / 337 MB, free: 10.04 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 50.41 MB / 387.5 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3578/0.4685, allocations: 77.84 MB / 465.3 MB, free: 1.035 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.4688, allocations: 67.95 kB / 465.4 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008191/0.477, allocations: 3.167 MB / 468.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4771, allocations: 0 / 468.5 MB, free: 13.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.4771, allocations: 8 kB / 468.5 MB, free: 13.8 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.000527/0.4777, allocations: 430.7 kB / 469 MB, free: 13.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.4777, allocations: 8.031 kB / 469 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.4778, allocations: 27.61 kB / 469 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002468/0.478, allocations: 224.3 kB / 469.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.4781, allocations: 8 kB / 469.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.688e-05/0.4781, allocations: 12 kB / 469.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001986/0.4783, allocations: 83.98 kB / 469.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000227/0.4785, allocations: 117.4 kB / 469.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.4786, allocations: 8 kB / 469.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.4786, allocations: 3.953 kB / 469.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4786, allocations: 4 kB / 469.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000825/0.4794, allocations: 0.5426 MB / 470 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.4796, allocations: 98.66 kB / 470.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.4797, allocations: 36.86 kB / 470.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.4797, allocations: 224 / 470.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.4798, allocations: 42.45 kB / 470.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.4798, allocations: 3.938 kB / 470.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001242/0.481, allocations: 0.69 MB / 470.9 MB, free: 11.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4811, allocations: 55.36 kB / 470.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.4812, allocations: 122.5 kB / 471 MB, free: 11.04 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.4812, allocations: 25.7 kB / 471.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.4813, allocations: 132.2 kB / 471.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.4813, allocations: 63.09 kB / 471.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/0.4814, allocations: 0 / 471.2 MB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4815, allocations: 326.8 kB / 471.6 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.4816, allocations: 36.38 kB / 471.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/0.4816, allocations: 60 kB / 471.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.906e-05/0.4817, allocations: 43.97 kB / 471.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4817, allocations: 0 / 471.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002958/0.482, allocations: 183.6 kB / 471.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.4821, allocations: 4 kB / 471.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4821, allocations: 48 / 471.9 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.4823, allocations: 44.81 kB / 471.9 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.4824, allocations: 35.92 kB / 472 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.4836, allocations: 1.37 MB / 473.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.4837, allocations: 4.031 kB / 473.3 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.4837, allocations: 4 kB / 473.3 MB, free: 8.566 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 9.768e-05/0.4838, allocations: 109 kB / 473.4 MB, free: 8.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.4839, allocations: 15.86 kB / 473.5 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.4839, allocations: 20.73 kB / 473.5 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4839, allocations: 192 / 473.5 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4839, allocations: 4 kB / 473.5 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.484, allocations: 3.938 kB / 473.5 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006918/0.4847, allocations: 0.5274 MB / 474 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4847, allocations: 3.938 kB / 474 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4848, allocations: 27.98 kB / 474 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.4849, allocations: 28.84 kB / 474.1 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.485, allocations: 7.984 kB / 474.1 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009469/0.4859, allocations: 1.304 MB / 475.4 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4859, allocations: 11.92 kB / 475.4 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003708/0.4863, allocations: 300.1 kB / 475.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.4864, allocations: 92.91 kB / 475.8 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.4864, allocations: 0 / 475.8 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.4865, allocations: 7.984 kB / 475.8 MB, free: 5.898 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.994e-05/0.4866, allocations: 15.92 kB / 475.8 MB, free: 5.883 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.4866, allocations: 4 kB / 475.8 MB, free: 5.879 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.706e-05/0.4867, allocations: 101.8 kB / 475.9 MB, free: 5.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4867, allocations: 0 / 475.9 MB, free: 5.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003006/0.487, allocations: 36.06 kB / 475.9 MB, free: 5.746 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.0001509/0.4871, allocations: 103.2 kB / 476 MB, free: 5.633 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.4876, allocations: 215.3 kB / 476.3 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.4876, allocations: 0 / 476.3 MB, free: 5.414 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.4878, allocations: 181.5 kB / 476.4 MB, free: 5.227 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.4881, allocations: 20.08 kB / 476.5 MB, free: 5.207 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.4887, allocations: 341.7 kB / 476.8 MB, free: 4.852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.4891, allocations: 0.7358 MB / 477.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.56e-05/0.4891, allocations: 17.2 kB / 477.5 MB, free: 4.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.4892, allocations: 11.44 kB / 477.6 MB, free: 4.062 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4892, allocations: 4 kB / 477.6 MB, free: 4.059 MB / 346.7 MB Notification: Performance of Templates: time 0.00405/0.4932, allocations: 1.508 MB / 479.1 MB, free: 2.559 MB / 346.7 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