Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001515/0.001515, allocations: 196.1 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 226.5 MB / 245.4 MB, free: 8.258 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008344/0.0008346, allocations: 102.2 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002097/0.0002097, allocations: 8 kB / 358.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2296, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09215/0.3218, allocations: 79.32 MB / 488.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.322, allocations: 67.97 kB / 488.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008665/0.3307, allocations: 3.267 MB / 492 MB, free: 8.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3307, allocations: 4 kB / 492 MB, free: 8.875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.3308, allocations: 3.984 kB / 492 MB, free: 8.871 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.000573/0.3313, allocations: 447.1 kB / 492.5 MB, free: 8.383 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.3314, allocations: 12.03 kB / 492.5 MB, free: 8.371 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.3315, allocations: 20.69 kB / 492.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.3317, allocations: 224.1 kB / 492.7 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.3317, allocations: 16.38 kB / 492.7 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.3318, allocations: 12.38 kB / 492.7 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003106/0.3321, allocations: 154 kB / 492.9 MB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.3321, allocations: 8.188 kB / 492.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.3321, allocations: 11.94 kB / 492.9 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3322, allocations: 7.938 kB / 492.9 MB, free: 7.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002249/0.3324, allocations: 99.94 kB / 493 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009175/0.3333, allocations: 0.608 MB / 493.6 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.3336, allocations: 118.6 kB / 493.7 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3337, allocations: 48.22 kB / 493.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.3337, allocations: 0 / 493.8 MB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.3337, allocations: 38.5 kB / 493.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.3337, allocations: 0 / 493.8 MB, free: 6.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001432/0.3352, allocations: 0.8006 MB / 494.6 MB, free: 6.008 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.3352, allocations: 55.41 kB / 494.7 MB, free: 5.941 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.3354, allocations: 166.1 kB / 494.8 MB, free: 5.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3354, allocations: 25.7 kB / 494.9 MB, free: 5.738 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.652e-05/0.3355, allocations: 128.3 kB / 495 MB, free: 5.605 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.3355, allocations: 63.08 kB / 495.1 MB, free: 5.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/0.3355, allocations: 8 kB / 495.1 MB, free: 5.535 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.3357, allocations: 326.8 kB / 495.4 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.3358, allocations: 39.98 kB / 495.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.3359, allocations: 86.66 kB / 495.5 MB, free: 5.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.3362, allocations: 136.4 kB / 495.6 MB, free: 4.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3362, allocations: 4 kB / 495.6 MB, free: 4.926 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004058/0.3366, allocations: 209 kB / 495.8 MB, free: 4.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3366, allocations: 11.92 kB / 495.9 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3366, allocations: 0 / 495.9 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001708/0.3368, allocations: 40.78 kB / 495.9 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.337, allocations: 32.05 kB / 495.9 MB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.3383, allocations: 1.425 MB / 497.4 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.3384, allocations: 12.02 kB / 497.4 MB, free: 3.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.3384, allocations: 4 kB / 497.4 MB, free: 3.055 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.0001303/0.3385, allocations: 141.4 kB / 497.5 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.537e-05/0.3386, allocations: 11.91 kB / 497.5 MB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.3386, allocations: 21.19 kB / 497.5 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3386, allocations: 0 / 497.5 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3387, allocations: 4 kB / 497.5 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3387, allocations: 8.047 kB / 497.6 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000795/0.3395, allocations: 0.5876 MB / 498.1 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3395, allocations: 0 / 498.1 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.3396, allocations: 39.92 kB / 498.2 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001066/0.3398, allocations: 32.83 kB / 498.2 MB, free: 2.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.3398, allocations: 4 kB / 498.2 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.3409, allocations: 1.367 MB / 499.6 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3409, allocations: 0 / 499.6 MB, free: 0.625 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005046/0.3414, allocations: 347 kB / 499.9 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/0.3415, allocations: 89.05 kB / 0.4883 GB, free: 168 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.3415, allocations: 4 kB / 0.4883 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3416, allocations: 19.86 kB / 0.4883 GB, free: 144 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3417, allocations: 11.98 kB / 0.4883 GB, free: 132 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.3417, allocations: 4 kB / 0.4883 GB, free: 128 kB / 362.7 MB Notification: Performance of sorting global known variables: time 8.539e-05/0.3418, allocations: 120.1 kB / 0.4884 GB, free: 8 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3418, allocations: 0 / 0.4884 GB, free: 8 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003137/0.3421, allocations: 48.11 kB / 0.4885 GB, free: 15.96 MB / 378.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.0001299/0.3422, allocations: 99.25 kB / 0.4886 GB, free: 15.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004867/0.3427, allocations: 250.4 kB / 0.4888 GB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3428, allocations: 128 / 0.4888 GB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.343, allocations: 202.5 kB / 0.489 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3434, allocations: 30.89 kB / 0.489 GB, free: 15.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008725/0.3443, allocations: 0.593 MB / 0.4896 GB, free: 14.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3446, allocations: 0.7284 MB / 0.4903 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.42e-05/0.3447, allocations: 21.48 kB / 0.4904 GB, free: 13.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.468e-05/0.3448, allocations: 15.44 kB / 0.4904 GB, free: 13.95 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3448, allocations: 0 / 0.4904 GB, free: 13.95 MB / 378.7 MB Notification: Performance of Templates: time 0.004744/0.3495, allocations: 1.679 MB / 0.492 GB, free: 12.28 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches