Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009503/0.0009505, allocations: 199.4 kB / 18.06 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 226.5 MB / 245.3 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008825/0.0008826, allocations: 96.06 kB / 297.4 MB, free: 6.645 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002523, allocations: 8 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2127, allocations: 51.3 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08787/0.3006, allocations: 79.32 MB / 488 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001857/0.3008, allocations: 67.97 kB / 488 MB, free: 12.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008207/0.309, allocations: 3.267 MB / 491.3 MB, free: 8.914 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3091, allocations: 3.938 kB / 491.3 MB, free: 8.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.3091, allocations: 4 kB / 491.3 MB, free: 8.906 MB / 362.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.0005222/0.3096, allocations: 447.1 kB / 491.8 MB, free: 8.418 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.3097, allocations: 11.97 kB / 491.8 MB, free: 8.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.3097, allocations: 20.75 kB / 491.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.31, allocations: 216.2 kB / 492 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.31, allocations: 12.38 kB / 492 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.807e-05/0.31, allocations: 20.38 kB / 492 MB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.3103, allocations: 153.9 kB / 492.2 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.3104, allocations: 4.188 kB / 492.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.3104, allocations: 7.938 kB / 492.2 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3104, allocations: 8 kB / 492.2 MB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.3106, allocations: 103.9 kB / 492.3 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/0.3114, allocations: 0.6041 MB / 492.9 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.3117, allocations: 118.6 kB / 493 MB, free: 7.043 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.064e-05/0.3118, allocations: 44.78 kB / 493.1 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.3118, allocations: 4 kB / 493.1 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.3118, allocations: 34.56 kB / 493.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.3118, allocations: 0 / 493.1 MB, free: 6.949 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001409/0.3132, allocations: 0.812 MB / 493.9 MB, free: 6.047 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.3133, allocations: 51.41 kB / 494 MB, free: 5.984 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3134, allocations: 162.1 kB / 494.1 MB, free: 5.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3135, allocations: 29.7 kB / 494.2 MB, free: 5.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.3135, allocations: 128.3 kB / 494.3 MB, free: 5.648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.203e-05/0.3136, allocations: 67.08 kB / 494.3 MB, free: 5.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.3136, allocations: 4 kB / 494.4 MB, free: 5.578 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.3137, allocations: 322.8 kB / 494.7 MB, free: 5.254 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.3138, allocations: 47.97 kB / 494.7 MB, free: 5.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001352/0.3139, allocations: 90.09 kB / 494.8 MB, free: 5.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.3142, allocations: 128.4 kB / 494.9 MB, free: 4.973 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3142, allocations: 4 kB / 494.9 MB, free: 4.969 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003725/0.3146, allocations: 205.3 kB / 495.1 MB, free: 4.762 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.3146, allocations: 7.938 kB / 495.1 MB, free: 4.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3146, allocations: 4 kB / 495.1 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.3148, allocations: 36.78 kB / 495.2 MB, free: 4.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3149, allocations: 39.97 kB / 495.2 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/0.316, allocations: 1.417 MB / 496.6 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.125e-05/0.3161, allocations: 8.016 kB / 496.6 MB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.3162, allocations: 23.94 kB / 496.7 MB, free: 3.09 MB / 362.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.0001137/0.3163, allocations: 137.5 kB / 496.8 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.3163, allocations: 11.91 kB / 496.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.115e-05/0.3164, allocations: 21.17 kB / 496.8 MB, free: 2.914 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3164, allocations: 4 kB / 496.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.3164, allocations: 0 / 496.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3164, allocations: 0 / 496.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.3172, allocations: 0.5955 MB / 497.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3172, allocations: 0 / 497.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001462/0.3173, allocations: 31.92 kB / 497.5 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/0.3174, allocations: 40.86 kB / 497.5 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.3175, allocations: 4 kB / 497.5 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009432/0.3184, allocations: 1.367 MB / 498.9 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3184, allocations: 0 / 498.9 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.3189, allocations: 348.9 kB / 499.2 MB, free: 316 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.344e-05/0.319, allocations: 85.17 kB / 499.3 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.319, allocations: 11.98 kB / 499.3 MB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.948e-05/0.3191, allocations: 7.938 kB / 499.3 MB, free: 192 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.3191, allocations: 11.98 kB / 499.3 MB, free: 180 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3192, allocations: 4 kB / 499.3 MB, free: 176 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.349e-05/0.3192, allocations: 120.1 kB / 499.4 MB, free: 56 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3193, allocations: 0 / 499.4 MB, free: 56 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002822/0.3195, allocations: 44 kB / 499.5 MB, free: 12 kB / 362.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.000138/0.3197, allocations: 103.2 kB / 499.6 MB, free: 15.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004544/0.3201, allocations: 254.4 kB / 499.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3202, allocations: 4 kB / 499.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.3204, allocations: 194.6 kB / 0.4883 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.3208, allocations: 19.98 kB / 0.4883 GB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000856/0.3216, allocations: 0.6402 MB / 0.489 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002727/0.3219, allocations: 0.7245 MB / 0.4897 GB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.322, allocations: 19.44 kB / 0.4897 GB, free: 13.97 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.322, allocations: 0 / 0.4897 GB, free: 13.97 MB / 378.7 MB Notification: Performance of Templates: time 0.004136/0.3261, allocations: 2.842 MB / 0.4925 GB, free: 11.14 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","../files/Modelica_trunk_cpp_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches