Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 179.6 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.584/1.584, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001124, allocations: 92.67 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002717/0.0002719, allocations: 8 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2518, allocations: 47.56 MB / 375.8 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.098/0.3498, allocations: 77.57 MB / 453.4 MB, free: 3.082 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3501, allocations: 67.97 kB / 453.4 MB, free: 3.016 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008501/0.3586, allocations: 3.141 MB / 456.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3587, allocations: 0 / 456.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.48e-05/0.3587, allocations: 4 kB / 456.6 MB, free: 15.87 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.0006163/0.3593, allocations: 450.7 kB / 457 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.3594, allocations: 8.031 kB / 457 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.441e-05/0.3594, allocations: 19.81 kB / 457.1 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.3597, allocations: 217.1 kB / 457.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.3598, allocations: 8 kB / 457.3 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.3598, allocations: 23.86 kB / 457.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.3602, allocations: 149.4 kB / 457.4 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.3602, allocations: 3.938 kB / 457.5 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3602, allocations: 12 kB / 457.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3602, allocations: 4 kB / 457.5 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000264/0.3605, allocations: 107.7 kB / 457.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.3616, allocations: 0.5966 MB / 458.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.3619, allocations: 110.6 kB / 458.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.3619, allocations: 8 kB / 458.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3619, allocations: 38.44 kB / 458.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.362, allocations: 0 / 458.3 MB, free: 13.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.00176/0.3637, allocations: 0.801 MB / 459.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.3638, allocations: 55.41 kB / 459.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.3639, allocations: 147.9 kB / 459.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.364, allocations: 33.64 kB / 459.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.3641, allocations: 136.3 kB / 459.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.3641, allocations: 63.02 kB / 459.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.3641, allocations: 4 kB / 459.6 MB, free: 12.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3643, allocations: 326.8 kB / 459.9 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.3644, allocations: 48.36 kB / 459.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.3645, allocations: 80.22 kB / 460 MB, free: 12.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3646, allocations: 55.98 kB / 460.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3646, allocations: 0 / 460.1 MB, free: 12.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003752/0.365, allocations: 213 kB / 460.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3651, allocations: 8.062 kB / 460.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3651, allocations: 0 / 460.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001773/0.3653, allocations: 40.83 kB / 460.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.3654, allocations: 35.98 kB / 460.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.3666, allocations: 1.433 MB / 461.8 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.683e-05/0.3667, allocations: 11.98 kB / 461.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.3667, allocations: 7.953 kB / 461.8 MB, free: 10.21 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 () * 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.0001189/0.3669, allocations: 129.8 kB / 461.9 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.3669, allocations: 19.88 kB / 461.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.367, allocations: 21.19 kB / 462 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.367, allocations: 0 / 462 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.367, allocations: 0 / 462 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.367, allocations: 7.984 kB / 462 MB, free: 10.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007862/0.3678, allocations: 0.5887 MB / 462.6 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3678, allocations: 384 / 462.6 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.368, allocations: 27.98 kB / 462.6 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.3681, allocations: 40.83 kB / 462.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3681, allocations: 0 / 462.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.3691, allocations: 1.382 MB / 464 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3691, allocations: 0 / 464 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.3697, allocations: 345.8 kB / 464.3 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.3697, allocations: 88.95 kB / 464.4 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3698, allocations: 11.98 kB / 464.4 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.3699, allocations: 7.938 kB / 464.5 MB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.457e-05/0.3699, allocations: 16 kB / 464.5 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.3699, allocations: 8 kB / 464.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.217e-05/0.37, allocations: 115.2 kB / 464.6 MB, free: 7.172 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.37, allocations: 3.938 kB / 464.6 MB, free: 7.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002994/0.3703, allocations: 48 kB / 464.6 MB, free: 7.121 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 () * 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.0001524/0.3705, allocations: 103.2 kB / 464.7 MB, free: 7.008 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005097/0.371, allocations: 260.9 kB / 465 MB, free: 6.742 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.371, allocations: 0 / 465 MB, free: 6.742 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.3713, allocations: 186.6 kB / 465.2 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3716, allocations: 19.98 kB / 465.2 MB, free: 6.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.3725, allocations: 0.6048 MB / 465.8 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.3729, allocations: 0.7323 MB / 466.5 MB, free: 5.137 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.397e-05/0.373, allocations: 17.53 kB / 466.6 MB, free: 5.121 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.373, allocations: 15.44 kB / 466.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of SimCode: time 3.4e-07/0.373, allocations: 4 kB / 466.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of Templates: time 0.004395/0.3774, allocations: 1.659 MB / 468.2 MB, free: 3.453 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches