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.001091/0.001092, allocations: 180.7 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 101.8 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002715/0.0002716, allocations: 8 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2616, allocations: 50.41 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09609/0.3578, allocations: 78.57 MB / 480.1 MB, free: 1.914 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.358, allocations: 67.97 kB / 480.1 MB, free: 1.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008207/0.3663, allocations: 3.21 MB / 483.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3663, allocations: 0 / 483.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.3663, allocations: 4.188 kB / 483.3 MB, free: 14.63 MB / 362.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.0005307/0.3668, allocations: 450.7 kB / 483.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3669, allocations: 12.03 kB / 483.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.3669, allocations: 19.77 kB / 483.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.3672, allocations: 218.7 kB / 484 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3672, allocations: 12 kB / 484 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.3672, allocations: 12.22 kB / 484.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.3675, allocations: 157.4 kB / 484.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.3676, allocations: 7.844 kB / 484.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.3676, allocations: 8 kB / 484.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.3676, allocations: 7.953 kB / 484.2 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002185/0.3678, allocations: 107.9 kB / 484.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.3687, allocations: 0.5888 MB / 484.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.3689, allocations: 122.6 kB / 485 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.3689, allocations: 3.953 kB / 485.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.369, allocations: 34.56 kB / 485.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.369, allocations: 0 / 485.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001418/0.3704, allocations: 0.8087 MB / 485.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.482e-05/0.3704, allocations: 55.41 kB / 485.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.3706, allocations: 138 kB / 486.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.3706, allocations: 33.7 kB / 486.1 MB, free: 11.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.3707, allocations: 132.3 kB / 486.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.3707, allocations: 70.98 kB / 486.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/0.3707, allocations: 4 kB / 486.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3709, allocations: 322.8 kB / 486.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.892e-05/0.371, allocations: 44.36 kB / 486.7 MB, free: 11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.3711, allocations: 72.16 kB / 486.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.3712, allocations: 63.62 kB / 486.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3712, allocations: 4 kB / 486.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003676/0.3716, allocations: 206.2 kB / 487 MB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3716, allocations: 8.062 kB / 487 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3716, allocations: 4 kB / 487 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001543/0.3718, allocations: 36.78 kB / 487.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.372, allocations: 39.97 kB / 487.1 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.3732, allocations: 1.438 MB / 488.5 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.718e-05/0.3733, allocations: 8.031 kB / 488.5 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.3733, allocations: 4 kB / 488.6 MB, free: 8.973 MB / 362.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 () * 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 (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 0.0001225/0.3734, allocations: 136.5 kB / 488.7 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.3735, allocations: 23.77 kB / 488.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.537e-05/0.3735, allocations: 25.17 kB / 488.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3735, allocations: 0 / 488.7 MB, free: 8.781 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3735, allocations: 4 kB / 488.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.3735, allocations: 0 / 488.7 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007529/0.3743, allocations: 0.5839 MB / 489.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3743, allocations: 0 / 489.3 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.3745, allocations: 35.92 kB / 489.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001076/0.3746, allocations: 32.83 kB / 489.4 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3746, allocations: 7.953 kB / 489.4 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009885/0.3756, allocations: 1.378 MB / 490.8 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3756, allocations: 4 kB / 490.8 MB, free: 6.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004723/0.3761, allocations: 346.4 kB / 491.1 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.3762, allocations: 92.94 kB / 491.2 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.3762, allocations: 4 kB / 491.2 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.3763, allocations: 8 kB / 491.2 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.3763, allocations: 12.05 kB / 491.2 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3764, allocations: 4 kB / 491.2 MB, free: 6.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.936e-05/0.3765, allocations: 121 kB / 491.4 MB, free: 5.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3765, allocations: 0 / 491.4 MB, free: 5.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002871/0.3768, allocations: 44 kB / 491.4 MB, free: 5.883 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 () * 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 (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.0001263/0.3769, allocations: 111.2 kB / 491.5 MB, free: 5.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.3774, allocations: 262.4 kB / 491.8 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3774, allocations: 0 / 491.8 MB, free: 5.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.3776, allocations: 182.7 kB / 491.9 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.3779, allocations: 23.89 kB / 492 MB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.3787, allocations: 0.5932 MB / 492.6 MB, free: 4.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.379, allocations: 0.74 MB / 493.3 MB, free: 3.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.707e-05/0.3791, allocations: 17.53 kB / 493.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.3791, allocations: 15.44 kB / 493.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3791, allocations: 4 kB / 493.3 MB, free: 3.859 MB / 362.7 MB Notification: Performance of Templates: time 0.003996/0.3831, allocations: 1.655 MB / 495 MB, free: 2.215 MB / 362.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