Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001293, allocations: 201.1 kB / 8.766 MB, free: 324 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.596/1.596, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008326/0.0008326, allocations: 94.52 kB / 286.7 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.458e-05/1.485e-05, allocations: 4 kB / 343.7 MB, free: 8.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.4267, allocations: 78.65 MB / 473.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.4269, allocations: 70.52 kB / 473.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008092/0.435, allocations: 3.23 MB / 477.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4351, allocations: 0 / 477.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.4351, allocations: 4 kB / 477.1 MB, free: 11.34 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.0004216/0.4355, allocations: 441.1 kB / 477.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.4356, allocations: 8.031 kB / 477.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.4356, allocations: 18.44 kB / 477.6 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.4358, allocations: 219.4 kB / 477.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.4358, allocations: 8.859 kB / 477.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.135e-05/0.4359, allocations: 8 kB / 477.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001845/0.4361, allocations: 85.53 kB / 477.9 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002083/0.4363, allocations: 117.6 kB / 478 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.4363, allocations: 4 kB / 478 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.4363, allocations: 0 / 478 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4364, allocations: 4 kB / 478 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007457/0.4371, allocations: 0.5493 MB / 478.6 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.4373, allocations: 102.6 kB / 478.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.4373, allocations: 33.25 kB / 478.7 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.4374, allocations: 0 / 478.7 MB, free: 9.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.4374, allocations: 37.31 kB / 478.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.4374, allocations: 0 / 478.7 MB, free: 9.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001029/0.4384, allocations: 0.6937 MB / 479.4 MB, free: 9.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.688e-05/0.4384, allocations: 51.41 kB / 479.5 MB, free: 9.195 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.576e-05/0.4385, allocations: 120.5 kB / 479.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.4385, allocations: 25.7 kB / 479.6 MB, free: 9.055 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.4386, allocations: 132.4 kB / 479.7 MB, free: 8.941 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.4386, allocations: 60.02 kB / 479.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.4387, allocations: 0 / 479.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.4387, allocations: 327.6 kB / 480.1 MB, free: 8.574 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.4388, allocations: 36.22 kB / 480.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-05/0.4388, allocations: 70.25 kB / 480.2 MB, free: 8.492 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.653e-05/0.4389, allocations: 44.19 kB / 480.3 MB, free: 8.473 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.4389, allocations: 0 / 480.3 MB, free: 8.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002519/0.4392, allocations: 184.8 kB / 480.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4392, allocations: 4 kB / 480.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4392, allocations: 0 / 480.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001485/0.4394, allocations: 40.84 kB / 480.5 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.4395, allocations: 34.61 kB / 480.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000802/0.4403, allocations: 1.364 MB / 481.9 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.844e-05/0.4404, allocations: 4.031 kB / 481.9 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.4404, allocations: 5.453 kB / 481.9 MB, free: 6.922 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 5.81e-05/0.4405, allocations: 110.4 kB / 482 MB, free: 6.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.4405, allocations: 15.81 kB / 482 MB, free: 6.793 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.717e-05/0.4406, allocations: 20.55 kB / 482 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4406, allocations: 0 / 482 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4406, allocations: 0 / 482 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4406, allocations: 1.594 kB / 482 MB, free: 6.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.4412, allocations: 0.5257 MB / 482.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4412, allocations: 3.953 kB / 482.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.4413, allocations: 30.33 kB / 482.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.901e-05/0.4414, allocations: 33.78 kB / 482.6 MB, free: 6.281 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.4415, allocations: 4 kB / 482.6 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007225/0.4422, allocations: 1.313 MB / 484 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4422, allocations: 4.031 kB / 484 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.4425, allocations: 301.3 kB / 484.3 MB, free: 4.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.4426, allocations: 90.5 kB / 484.3 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.4426, allocations: 0 / 484.3 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/0.4427, allocations: 5.453 kB / 484.4 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.4427, allocations: 15.78 kB / 484.4 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.854e-06/0.4428, allocations: 5.203 kB / 484.4 MB, free: 4.594 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.4428, allocations: 105.6 kB / 484.5 MB, free: 4.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4428, allocations: 4 kB / 484.5 MB, free: 4.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002828/0.4431, allocations: 36 kB / 484.5 MB, free: 4.465 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.0001074/0.4432, allocations: 105.4 kB / 484.6 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.4435, allocations: 221.5 kB / 484.8 MB, free: 4.172 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4436, allocations: 0 / 484.8 MB, free: 4.172 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.4437, allocations: 180.3 kB / 485 MB, free: 4.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.444, allocations: 18.31 kB / 485 MB, free: 4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005427/0.4445, allocations: 338.9 kB / 485.4 MB, free: 3.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001433/0.4447, allocations: 0.7375 MB / 486.1 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.4448, allocations: 12.73 kB / 486.1 MB, free: 2.961 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.842e-05/0.4448, allocations: 15.44 kB / 486.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4448, allocations: 0 / 486.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of Templates: time 0.003468/0.4483, allocations: 1.513 MB / 487.6 MB, free: 1.492 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches