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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 108.3 kB / 17.7 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 183.8 kB / 18.62 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 47.94 kB / 351.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2642, allocations: 49.45 MB / 401.3 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003189/0.2675, allocations: 2.11 MB / 403.5 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009009/0.2684, allocations: 0.5376 MB / 404 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.2685, allocations: 4 kB / 404 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.2687, allocations: 31.66 kB / 404 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.2688, allocations: 55.55 kB / 404.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001873/0.269, allocations: 47.89 kB / 404.1 MB, free: 6.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.2693, allocations: 219 kB / 404.3 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.2694, allocations: 69.62 kB / 404.4 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.91e-05/0.2695, allocations: 71.73 kB / 404.5 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2697, allocations: 87.61 kB / 404.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.2697, allocations: 16 kB / 404.6 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.054e-05/0.2697, allocations: 16 kB / 404.6 MB, free: 5.629 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.786e-05/0.2698, allocations: 35.91 kB / 404.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.921e-05/0.2699, allocations: 91.55 kB / 404.7 MB, free: 5.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.2701, allocations: 216.3 kB / 404.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2701, allocations: 0 / 404.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2701, allocations: 0 / 404.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.2701, allocations: 0 / 404.9 MB, free: 5.297 MB / 318.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.0006659/0.2708, allocations: 478.8 kB / 405.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2709, allocations: 11.97 kB / 405.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.115e-05/0.2709, allocations: 20.75 kB / 405.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.2712, allocations: 228 kB / 405.7 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.2712, allocations: 12.38 kB / 405.7 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.2712, allocations: 16.38 kB / 405.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.2716, allocations: 157.7 kB / 405.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.2716, allocations: 0 / 405.8 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.2716, allocations: 8 kB / 405.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2716, allocations: 8 kB / 405.9 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.2718, allocations: 107.7 kB / 406 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008826/0.2727, allocations: 0.5887 MB / 406.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.273, allocations: 110.6 kB / 406.7 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.942e-05/0.2731, allocations: 44.78 kB / 406.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.2731, allocations: 4 kB / 406.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2731, allocations: 34.56 kB / 406.7 MB, free: 3.324 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.2731, allocations: 4 kB / 406.7 MB, free: 3.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001546/0.2747, allocations: 0.7926 MB / 407.5 MB, free: 2.434 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.2747, allocations: 59.31 kB / 407.6 MB, free: 2.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.2749, allocations: 162.2 kB / 407.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.2749, allocations: 29.7 kB / 407.8 MB, free: 2.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.208e-05/0.275, allocations: 132.3 kB / 407.9 MB, free: 2.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.2751, allocations: 63.09 kB / 408 MB, free: 1.965 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.2751, allocations: 33.72 kB / 408 MB, free: 1.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2752, allocations: 334.8 kB / 408.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.924e-05/0.2754, allocations: 39.98 kB / 408.4 MB, free: 1.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.2755, allocations: 76.91 kB / 408.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.2757, allocations: 135.3 kB / 408.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2757, allocations: 0 / 408.6 MB, free: 1.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003743/0.2761, allocations: 206.1 kB / 408.8 MB, free: 1.109 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.2761, allocations: 4 kB / 408.8 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.2761, allocations: 4 kB / 408.8 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001777/0.2763, allocations: 40.89 kB / 408.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2765, allocations: 35.92 kB / 408.9 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.2778, allocations: 1.535 MB / 410.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.601e-05/0.2779, allocations: 11.95 kB / 410.4 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.2779, allocations: 8 kB / 410.4 MB, free: 15.32 MB / 334.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.2781, allocations: 129.9 kB / 410.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.2781, allocations: 11.91 kB / 410.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.2782, allocations: 25.12 kB / 410.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2782, allocations: 8 kB / 410.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2782, allocations: 0 / 410.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.2782, allocations: 11.92 kB / 410.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007871/0.279, allocations: 0.5722 MB / 411.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.279, allocations: 0 / 411.2 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.2792, allocations: 31.92 kB / 411.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/0.2793, allocations: 44.77 kB / 411.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2793, allocations: 0 / 411.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.2804, allocations: 1.477 MB / 412.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2804, allocations: 3.984 kB / 412.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.2809, allocations: 338.7 kB / 413.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.281, allocations: 93.03 kB / 413.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.281, allocations: 8.125 kB / 413.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.2811, allocations: 4.141 kB / 413.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.217e-05/0.2812, allocations: 15.97 kB / 413.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.2812, allocations: 4 kB / 413.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.64e-05/0.2813, allocations: 119.2 kB / 413.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2813, allocations: 0 / 413.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002914/0.2816, allocations: 44 kB / 413.3 MB, free: 12.14 MB / 334.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.2817, allocations: 111.7 kB / 413.4 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005029/0.2823, allocations: 253.7 kB / 413.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2823, allocations: 0 / 413.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002551/0.2825, allocations: 194.5 kB / 413.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.2829, allocations: 20.11 kB / 413.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008763/0.2838, allocations: 0.5165 MB / 414.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2841, allocations: 0.7359 MB / 415.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.2842, allocations: 15.44 kB / 415.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2842, allocations: 0 / 415.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of Templates: time 0.004742/0.2889, allocations: 2.872 MB / 418 MB, free: 7.344 MB / 334.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches