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.001565/0.001564, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001094/0.001094, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.725e-05, allocations: 4 kB / 321.5 MB, free: 17.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09477, allocations: 47.57 MB / 369.1 MB, free: 2.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/0.4805, allocations: 77.49 MB / 446.6 MB, free: 15.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4808, allocations: 71.58 kB / 446.6 MB, free: 15.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01306/0.4939, allocations: 3.108 MB / 449.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.494, allocations: 3.938 kB / 449.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.939e-05/0.494, allocations: 4 kB / 449.8 MB, free: 13.05 MB / 330.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.0007495/0.4948, allocations: 433.2 kB / 450.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4948, allocations: 8.797 kB / 450.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.742e-05/0.4949, allocations: 23.72 kB / 450.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003066/0.4952, allocations: 209.6 kB / 450.4 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.4953, allocations: 9.688 kB / 450.4 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.4953, allocations: 22.89 kB / 450.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.4957, allocations: 148.1 kB / 450.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/0.4958, allocations: 0 / 450.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.4958, allocations: 9.297 kB / 450.6 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.4958, allocations: 4 kB / 450.6 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002904/0.4961, allocations: 97.08 kB / 450.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.4975, allocations: 0.6047 MB / 451.3 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.4979, allocations: 104.8 kB / 451.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.498, allocations: 35.64 kB / 451.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.498, allocations: 4 kB / 451.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.4981, allocations: 33.75 kB / 451.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 4.889e-06/0.4981, allocations: 0 / 451.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.001911/0.5, allocations: 0.7463 MB / 452.2 MB, free: 10.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.5001, allocations: 59.31 kB / 452.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.5003, allocations: 145.6 kB / 452.4 MB, free: 10.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5004, allocations: 33.64 kB / 452.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.5005, allocations: 190 kB / 452.6 MB, free: 10.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.5006, allocations: 62.78 kB / 452.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.5006, allocations: 3.75 kB / 452.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.5007, allocations: 318.8 kB / 453 MB, free: 9.887 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.5009, allocations: 39.69 kB / 453.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.501, allocations: 71.61 kB / 453.1 MB, free: 9.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.5012, allocations: 54.83 kB / 453.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5012, allocations: 0 / 453.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005587/0.5018, allocations: 188.1 kB / 453.4 MB, free: 9.598 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5018, allocations: 4 kB / 453.4 MB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5018, allocations: 4 kB / 453.4 MB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.5021, allocations: 40.66 kB / 453.4 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002851/0.5024, allocations: 27.98 kB / 453.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.5041, allocations: 1.42 MB / 454.9 MB, free: 8.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.5044, allocations: 15.66 kB / 454.9 MB, free: 8.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.5044, allocations: 8.188 kB / 454.9 MB, free: 8.062 MB / 330.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 0.0001128/0.5045, allocations: 113 kB / 455 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.5046, allocations: 11.91 kB / 455 MB, free: 7.938 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/0.5047, allocations: 27.31 kB / 455 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5047, allocations: 0 / 455 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.5047, allocations: 7.984 kB / 455 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.5047, allocations: 0 / 455 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.5059, allocations: 0.575 MB / 455.6 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.506, allocations: 0 / 455.6 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/0.5063, allocations: 31.92 kB / 455.6 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.5065, allocations: 36.64 kB / 455.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.5066, allocations: 0 / 455.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/0.5081, allocations: 1.37 MB / 457.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.5082, allocations: 3.984 kB / 457.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007357/0.5089, allocations: 325 kB / 457.4 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.509, allocations: 88.95 kB / 457.5 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.509, allocations: 3.562 kB / 457.5 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.5092, allocations: 7.984 kB / 457.5 MB, free: 5.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.5093, allocations: 15.81 kB / 457.5 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.5093, allocations: 4 kB / 457.5 MB, free: 5.473 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001297/0.5095, allocations: 114.8 kB / 457.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.5095, allocations: 0 / 457.6 MB, free: 5.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004148/0.5099, allocations: 47.88 kB / 457.7 MB, free: 5.332 MB / 330.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.0001609/0.5101, allocations: 107.2 kB / 457.8 MB, free: 5.223 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006004/0.5107, allocations: 245.6 kB / 458 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5107, allocations: 0 / 458 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003407/0.5111, allocations: 185.4 kB / 458.2 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.5114, allocations: 23.55 kB / 458.2 MB, free: 4.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000998/0.5124, allocations: 384.5 kB / 458.6 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.5128, allocations: 0.7324 MB / 459.3 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.5129, allocations: 15.44 kB / 459.3 MB, free: 3.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5129, allocations: 0 / 459.3 MB, free: 3.66 MB / 330.7 MB Notification: Performance of Templates: time 0.007267/0.5202, allocations: 2.744 MB / 462.1 MB, free: 0.9414 MB / 330.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