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.001437/0.001437, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 84.64 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.685e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3495, allocations: 47.55 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4775, allocations: 76.84 MB / 439.2 MB, free: 9.477 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.4779, allocations: 67.95 kB / 439.2 MB, free: 9.41 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01299/0.4909, allocations: 3.088 MB / 442.3 MB, free: 6.371 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.4909, allocations: 0 / 442.3 MB, free: 6.371 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.491, allocations: 4 kB / 442.3 MB, free: 6.367 MB / 331.1 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.0007516/0.4917, allocations: 437 kB / 442.7 MB, free: 5.898 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4918, allocations: 13.23 kB / 442.8 MB, free: 5.887 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.4919, allocations: 19.72 kB / 442.8 MB, free: 5.867 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.4922, allocations: 216 kB / 443 MB, free: 5.617 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4922, allocations: 4 kB / 443 MB, free: 5.613 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.4923, allocations: 15.95 kB / 443 MB, free: 5.598 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003043/0.4926, allocations: 80.55 kB / 443.1 MB, free: 5.52 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003332/0.493, allocations: 113.7 kB / 443.2 MB, free: 5.402 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.493, allocations: 4 kB / 443.2 MB, free: 5.398 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.493, allocations: 0 / 443.2 MB, free: 5.398 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.4931, allocations: 4 kB / 443.2 MB, free: 5.395 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.4943, allocations: 0.5509 MB / 443.8 MB, free: 4.797 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.4946, allocations: 108.2 kB / 443.9 MB, free: 4.688 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-05/0.4947, allocations: 32.86 kB / 443.9 MB, free: 4.652 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.4948, allocations: 4 kB / 443.9 MB, free: 4.648 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.4948, allocations: 34.56 kB / 443.9 MB, free: 4.605 MB / 331.1 MB Notification: Performance of pre-optimization done (n=13): time 2.405e-06/0.4948, allocations: 0 / 443.9 MB, free: 4.605 MB / 331.1 MB Notification: Performance of matching and sorting (n=18): time 0.001792/0.4966, allocations: 0.6945 MB / 444.6 MB, free: 3.82 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.4967, allocations: 55.41 kB / 444.7 MB, free: 3.754 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.4968, allocations: 125 kB / 444.8 MB, free: 3.625 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.4969, allocations: 25.7 kB / 444.8 MB, free: 3.594 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.497, allocations: 194.6 kB / 445 MB, free: 3.402 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.853e-05/0.4971, allocations: 63.05 kB / 445.1 MB, free: 3.34 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.4971, allocations: 0 / 445.1 MB, free: 3.34 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4973, allocations: 322.8 kB / 445.4 MB, free: 3.016 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4974, allocations: 32.38 kB / 445.4 MB, free: 2.98 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.4975, allocations: 68.22 kB / 445.5 MB, free: 2.902 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.4977, allocations: 49.64 kB / 445.5 MB, free: 2.855 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4977, allocations: 3.938 kB / 445.5 MB, free: 2.852 MB / 331.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004923/0.4982, allocations: 166.1 kB / 445.7 MB, free: 2.684 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/0.4982, allocations: 4 kB / 445.7 MB, free: 2.68 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4983, allocations: 4 kB / 445.7 MB, free: 2.676 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000235/0.4985, allocations: 36.91 kB / 445.7 MB, free: 2.637 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/0.4988, allocations: 39.91 kB / 445.8 MB, free: 2.598 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.5005, allocations: 1.36 MB / 447.1 MB, free: 1.125 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.5007, allocations: 4.031 kB / 447.2 MB, free: 1.121 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.5007, allocations: 8 kB / 447.2 MB, free: 1.113 MB / 331.1 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.0001176/0.5008, allocations: 112.9 kB / 447.3 MB, free: 0.9961 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.5009, allocations: 13.22 kB / 447.3 MB, free: 0.9844 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.5009, allocations: 20.73 kB / 447.3 MB, free: 0.9609 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.501, allocations: 4.062 kB / 447.3 MB, free: 0.957 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.501, allocations: 4 kB / 447.3 MB, free: 0.9531 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.501, allocations: 0 / 447.3 MB, free: 0.9531 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.5021, allocations: 0.5217 MB / 447.8 MB, free: 392 kB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.5021, allocations: 3.953 kB / 447.8 MB, free: 388 kB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.5024, allocations: 31.98 kB / 447.9 MB, free: 356 kB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001909/0.5026, allocations: 32.88 kB / 447.9 MB, free: 320 kB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.5027, allocations: 0 / 447.9 MB, free: 320 kB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.5042, allocations: 1.315 MB / 449.2 MB, free: 14.88 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5042, allocations: 0 / 449.2 MB, free: 14.88 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/0.5049, allocations: 305 kB / 449.5 MB, free: 14.57 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.785e-05/0.505, allocations: 88.95 kB / 449.6 MB, free: 14.46 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.505, allocations: 128 / 449.6 MB, free: 14.46 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.5052, allocations: 4.562 kB / 449.6 MB, free: 14.46 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.212e-05/0.5053, allocations: 19.97 kB / 449.6 MB, free: 14.44 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.5053, allocations: 4 kB / 449.6 MB, free: 14.43 MB / 347.1 MB Notification: Performance of sorting global known variables: time 9.549e-05/0.5054, allocations: 103.2 kB / 449.7 MB, free: 14.33 MB / 347.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5054, allocations: 0 / 449.7 MB, free: 14.33 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.5059, allocations: 40 kB / 449.8 MB, free: 14.29 MB / 347.1 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.0001702/0.506, allocations: 105.1 kB / 449.9 MB, free: 14.18 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0005858/0.5066, allocations: 226.2 kB / 450.1 MB, free: 13.95 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5067, allocations: 3.938 kB / 450.1 MB, free: 13.95 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003339/0.507, allocations: 169.8 kB / 450.3 MB, free: 13.77 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003634/0.5074, allocations: 18.42 kB / 450.3 MB, free: 13.76 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.5084, allocations: 371.8 kB / 450.6 MB, free: 13.36 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.5089, allocations: 0.7319 MB / 451.4 MB, free: 12.61 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.491e-05/0.5089, allocations: 15.44 kB / 451.4 MB, free: 12.59 MB / 347.1 MB Notification: Performance of SimCode: time 8.42e-07/0.509, allocations: 0 / 451.4 MB, free: 12.59 MB / 347.1 MB Notification: Performance of Templates: time 0.006829/0.5158, allocations: 2.674 MB / 454.1 MB, free: 9.938 MB / 347.1 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