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.000978/0.0009784, allocations: 172.2 kB / 17.4 MB, free: 4.297 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.361/1.361, allocations: 223.3 MB / 241.4 MB, free: 11.71 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.0008448/0.0008445, allocations: 101.3 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003409/0.0003409, allocations: 15.92 kB / 352.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.261, allocations: 50.39 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.101/0.362, allocations: 78.61 MB / 481.4 MB, free: 1.734 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.3623, allocations: 71.97 kB / 481.4 MB, free: 1.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01081/0.3731, allocations: 3.206 MB / 484.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.679e-06/0.3732, allocations: 0 / 484.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.833e-05/0.3733, allocations: 4 kB / 484.6 MB, free: 14.45 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.0007758/0.374, allocations: 442.9 kB / 485.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.3741, allocations: 12.03 kB / 485.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.031e-05/0.3742, allocations: 20.75 kB / 485.1 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3745, allocations: 216.2 kB / 485.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3745, allocations: 16.31 kB / 485.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.281e-05/0.3746, allocations: 20.59 kB / 485.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004011/0.375, allocations: 146 kB / 485.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.375, allocations: 8.125 kB / 485.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.733e-05/0.3751, allocations: 11.94 kB / 485.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.3751, allocations: 8 kB / 485.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.3755, allocations: 99.94 kB / 485.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.3767, allocations: 0.612 MB / 486.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.3771, allocations: 114.6 kB / 486.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.3772, allocations: 44.84 kB / 486.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.3773, allocations: 4 kB / 486.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.832e-05/0.3773, allocations: 38.55 kB / 486.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.204e-06/0.3773, allocations: 0 / 486.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.00214/0.3795, allocations: 0.8052 MB / 487.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.3795, allocations: 55.34 kB / 487.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.3798, allocations: 158.9 kB / 487.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.3798, allocations: 25.7 kB / 487.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.3799, allocations: 136.3 kB / 487.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.283e-05/0.38, allocations: 63.09 kB / 487.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.38, allocations: 4 kB / 487.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.3802, allocations: 326.8 kB / 488 MB, free: 10.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3803, allocations: 43.97 kB / 488 MB, free: 10.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.3805, allocations: 86.72 kB / 488.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.3808, allocations: 130 kB / 488.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3808, allocations: 0 / 488.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005727/0.3814, allocations: 218.1 kB / 488.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.3815, allocations: 7.938 kB / 488.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.3815, allocations: 4 kB / 488.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002403/0.3817, allocations: 36.83 kB / 488.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.382, allocations: 31.98 kB / 488.5 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.3836, allocations: 1.421 MB / 489.9 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.3837, allocations: 8.031 kB / 490 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3837, allocations: 8.109 kB / 490 MB, free: 8.645 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.000166/0.3839, allocations: 146.5 kB / 490.1 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.116e-05/0.384, allocations: 11.91 kB / 490.1 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.384, allocations: 21.17 kB / 490.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3841, allocations: 4 kB / 490.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3841, allocations: 0 / 490.1 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3841, allocations: 3.938 kB / 490.1 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.3852, allocations: 0.5916 MB / 490.7 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3852, allocations: 4 kB / 490.7 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.3854, allocations: 31.97 kB / 490.8 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00015/0.3856, allocations: 32.84 kB / 490.8 MB, free: 7.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3856, allocations: 4 kB / 490.8 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.3871, allocations: 1.37 MB / 492.2 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3871, allocations: 0 / 492.2 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007137/0.3879, allocations: 342.2 kB / 492.5 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.3879, allocations: 89.03 kB / 492.6 MB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.388, allocations: 8.266 kB / 492.6 MB, free: 5.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3881, allocations: 11.94 kB / 492.6 MB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.3882, allocations: 11.97 kB / 492.6 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.3882, allocations: 4 kB / 492.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001235/0.3884, allocations: 121 kB / 492.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3884, allocations: 0 / 492.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004882/0.3889, allocations: 47.94 kB / 492.8 MB, free: 5.559 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.0001629/0.389, allocations: 115.2 kB / 492.9 MB, free: 5.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006409/0.3897, allocations: 257.9 kB / 493.2 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3897, allocations: 0 / 493.2 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.3901, allocations: 194.6 kB / 493.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005524/0.3906, allocations: 23.03 kB / 493.4 MB, free: 4.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001251/0.3919, allocations: 0.5968 MB / 494 MB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.3923, allocations: 0.7245 MB / 494.7 MB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.3924, allocations: 21.48 kB / 494.7 MB, free: 3.559 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.176e-05/0.3925, allocations: 15.44 kB / 494.7 MB, free: 3.543 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3925, allocations: 0 / 494.7 MB, free: 3.543 MB / 362.7 MB Notification: Performance of Templates: time 0.006526/0.399, allocations: 1.675 MB / 496.4 MB, free: 1.879 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/jenkins1/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