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.001025/0.001025, allocations: 102.4 kB / 16.5 MB, free: 6.641 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.0009734/0.0009734, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.274/1.274, allocations: 222.9 MB / 241.1 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009184/0.0009183, allocations: 43.42 kB / 300 MB, free: 6.074 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08121/0.08214, allocations: 49.44 MB / 349.4 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003355/0.08554, allocations: 2.163 MB / 351.6 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.08646, allocations: 0.5298 MB / 352.1 MB, free: 1.918 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.08663, allocations: 4 kB / 352.1 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.08681, allocations: 27.78 kB / 352.1 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.08693, allocations: 51.61 kB / 352.2 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.08712, allocations: 35.97 kB / 352.2 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.08735, allocations: 199.1 kB / 352.4 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.08751, allocations: 65.64 kB / 352.5 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.62e-05/0.08762, allocations: 67.72 kB / 352.5 MB, free: 1.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.08775, allocations: 91.55 kB / 352.6 MB, free: 1.383 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.08778, allocations: 12 kB / 352.6 MB, free: 1.371 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.255e-05/0.08782, allocations: 12 kB / 352.6 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.08786, allocations: 23.92 kB / 352.7 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.913e-05/0.08795, allocations: 95.47 kB / 352.8 MB, free: 1.242 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.08817, allocations: 203.5 kB / 353 MB, free: 1.043 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.08818, allocations: 0 / 353 MB, free: 1.043 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.08819, allocations: 0 / 353 MB, free: 1.043 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.0882, allocations: 0 / 353 MB, free: 1.043 MB / 286.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.0006618/0.08886, allocations: 474.9 kB / 353.4 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.0889, allocations: 8.031 kB / 353.4 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.074e-05/0.08896, allocations: 20.66 kB / 353.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.08917, allocations: 216.1 kB / 353.7 MB, free: 260 kB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.08919, allocations: 12.38 kB / 353.7 MB, free: 248 kB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.96e-05/0.08924, allocations: 24.36 kB / 353.7 MB, free: 224 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.08956, allocations: 153.7 kB / 353.8 MB, free: 64 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.08958, allocations: 3.906 kB / 353.8 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.08961, allocations: 8 kB / 353.9 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.08962, allocations: 8 kB / 353.9 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.08986, allocations: 103.9 kB / 354 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008293/0.0907, allocations: 0.5965 MB / 354.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002249/0.09094, allocations: 114.6 kB / 354.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/0.09105, allocations: 40.84 kB / 354.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.09107, allocations: 0 / 354.7 MB, free: 15.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.0911, allocations: 30.56 kB / 354.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.0911, allocations: 4 kB / 354.7 MB, free: 15.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001477/0.09259, allocations: 0.8001 MB / 355.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.09263, allocations: 63.41 kB / 355.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.09277, allocations: 150.2 kB / 355.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.09279, allocations: 33.7 kB / 355.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.09287, allocations: 132.3 kB / 355.9 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.085e-05/0.09293, allocations: 70.94 kB / 356 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.093, allocations: 37.7 kB / 356 MB, free: 13.67 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.0931, allocations: 322.8 kB / 356.3 MB, free: 13.35 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.09321, allocations: 47.92 kB / 356.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.09334, allocations: 82.59 kB / 356.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.09356, allocations: 130.6 kB / 356.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.09357, allocations: 0 / 356.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003866/0.09397, allocations: 210.2 kB / 356.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.09399, allocations: 7.938 kB / 356.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.094, allocations: 0 / 356.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001661/0.09417, allocations: 32.84 kB / 356.8 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.09434, allocations: 43.91 kB / 356.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.09546, allocations: 1.417 MB / 358.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.037e-05/0.09557, allocations: 8.016 kB / 358.3 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.09559, allocations: 8 kB / 358.3 MB, free: 11.2 MB / 302.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.0001138/0.09571, allocations: 137.8 kB / 358.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.113e-05/0.09576, allocations: 15.81 kB / 358.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.336e-05/0.0958, allocations: 21.19 kB / 358.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.09581, allocations: 0 / 358.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.09582, allocations: 4 kB / 358.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.09583, allocations: 3.984 kB / 358.5 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007887/0.09662, allocations: 0.5863 MB / 359.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.09664, allocations: 7.938 kB / 359.1 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.0968, allocations: 23.98 kB / 359.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001176/0.09692, allocations: 40.86 kB / 359.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.09695, allocations: 0 / 359.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.09798, allocations: 1.366 MB / 360.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.09799, allocations: 0 / 360.5 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000492/0.09849, allocations: 344 kB / 360.9 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.09855, allocations: 88.95 kB / 360.9 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.09858, allocations: 7.938 kB / 360.9 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.09869, allocations: 7.984 kB / 361 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.09874, allocations: 11.98 kB / 361 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.141e-05/0.09876, allocations: 11.94 kB / 361 MB, free: 8.289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.462e-05/0.09885, allocations: 128.1 kB / 361.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09886, allocations: 0 / 361.1 MB, free: 8.164 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002993/0.09916, allocations: 44 kB / 361.1 MB, free: 8.121 MB / 302.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.0001107/0.09928, allocations: 103.1 kB / 361.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004624/0.09975, allocations: 257.1 kB / 361.5 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.09977, allocations: 4.125 kB / 361.5 MB, free: 7.746 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.1, allocations: 182.7 kB / 361.7 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1004, allocations: 23.98 kB / 361.7 MB, free: 7.531 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.1013, allocations: 0.5722 MB / 362.3 MB, free: 6.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1016, allocations: 0.7284 MB / 363 MB, free: 6.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.326e-05/0.1017, allocations: 17.55 kB / 363 MB, free: 6.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.1017, allocations: 15.44 kB / 363 MB, free: 6.145 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1017, allocations: 0 / 363 MB, free: 6.145 MB / 302.1 MB Notification: Performance of Templates: time 0.004665/0.1064, allocations: 1.735 MB / 364.8 MB, free: 4.414 MB / 302.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","/var/lib/jenkins/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