Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001515/0.001514, allocations: 187.1 kB / 16.41 MB, free: 5.723 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.94/1.94, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001167/0.001167, allocations: 95.55 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004058, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3287/0.3291, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1232/0.4524, allocations: 77.57 MB / 452.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.4527, allocations: 67.97 kB / 452.2 MB, free: 3.109 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.466, allocations: 3.141 MB / 455.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4661, allocations: 0 / 455.3 MB, free: 15.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.4661, allocations: 4 kB / 455.3 MB, free: 15.96 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.0007844/0.4669, allocations: 438.7 kB / 455.7 MB, free: 15.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.467, allocations: 8.031 kB / 455.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.4671, allocations: 23.81 kB / 455.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.4674, allocations: 220.5 kB / 456 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.4674, allocations: 12 kB / 456 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.754e-05/0.4675, allocations: 23.86 kB / 456 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000497/0.468, allocations: 157.3 kB / 456.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.468, allocations: 0 / 456.2 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.4681, allocations: 11.98 kB / 456.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.4681, allocations: 4 kB / 456.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.4685, allocations: 111.7 kB / 456.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.4699, allocations: 0.5888 MB / 456.9 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003658/0.4703, allocations: 106.6 kB / 457 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.4703, allocations: 7.938 kB / 457 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.4703, allocations: 38.55 kB / 457 MB, free: 14.06 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 2.575e-06/0.4703, allocations: 0 / 457 MB, free: 14.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.002273/0.4726, allocations: 0.8042 MB / 457.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.4727, allocations: 51.41 kB / 457.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.4729, allocations: 159.8 kB / 458.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.473, allocations: 33.64 kB / 458.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.4731, allocations: 198.7 kB / 458.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.765e-05/0.4732, allocations: 63.02 kB / 458.3 MB, free: 12.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.4732, allocations: 4 kB / 458.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.4734, allocations: 318.8 kB / 458.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.4736, allocations: 44.36 kB / 458.7 MB, free: 12.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.4738, allocations: 84.22 kB / 458.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.474, allocations: 55.98 kB / 458.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.474, allocations: 4 kB / 458.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006296/0.4746, allocations: 198.3 kB / 459 MB, free: 11.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4747, allocations: 4 kB / 459 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.4747, allocations: 0 / 459 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000253/0.475, allocations: 40.89 kB / 459.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.4753, allocations: 39.98 kB / 459.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/0.477, allocations: 1.433 MB / 460.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.4772, allocations: 11.98 kB / 460.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.4773, allocations: 7.953 kB / 460.6 MB, free: 10.26 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.0001815/0.4774, allocations: 133.8 kB / 460.7 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.4775, allocations: 15.81 kB / 460.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.4776, allocations: 17.19 kB / 460.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4776, allocations: 0 / 460.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.4776, allocations: 4 kB / 460.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4776, allocations: 8.047 kB / 460.7 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.4789, allocations: 0.5878 MB / 461.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.4789, allocations: 384 / 461.3 MB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.4792, allocations: 31.98 kB / 461.4 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001962/0.4794, allocations: 36.83 kB / 461.4 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.4795, allocations: 4 kB / 461.4 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.481, allocations: 1.375 MB / 462.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.481, allocations: 0 / 462.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008243/0.4819, allocations: 346.4 kB / 463.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.482, allocations: 92.95 kB / 463.2 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.482, allocations: 7.984 kB / 463.2 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.4822, allocations: 11.94 kB / 463.2 MB, free: 7.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.4823, allocations: 11.94 kB / 463.2 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.4823, allocations: 8 kB / 463.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.4824, allocations: 115.2 kB / 463.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.923e-06/0.4825, allocations: 0 / 463.4 MB, free: 7.219 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004273/0.4829, allocations: 52 kB / 463.4 MB, free: 7.168 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.0001679/0.4831, allocations: 107.2 kB / 463.5 MB, free: 7.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007208/0.4838, allocations: 249 kB / 463.8 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4838, allocations: 3.938 kB / 463.8 MB, free: 6.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004073/0.4843, allocations: 194.7 kB / 464 MB, free: 6.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.4846, allocations: 15.98 kB / 464 MB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.486, allocations: 0.6297 MB / 464.6 MB, free: 5.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.4864, allocations: 0.7323 MB / 465.3 MB, free: 5.152 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.148e-05/0.4865, allocations: 15.44 kB / 465.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4865, allocations: 4 kB / 465.4 MB, free: 5.133 MB / 346.7 MB Notification: Performance of Templates: time 0.006615/0.4931, allocations: 2.739 MB / 468.1 MB, free: 2.391 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches