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.0019/0.001899, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008187/0.0008187, allocations: 107.4 kB / 297.3 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002153/0.0002152, allocations: 4 kB / 357.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1948, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08909/0.2839, allocations: 79.39 MB / 488.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.2841, allocations: 67.97 kB / 488.9 MB, free: 11.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007973/0.2921, allocations: 3.268 MB / 492.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2921, allocations: 192 / 492.1 MB, free: 7.902 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.2922, allocations: 7.984 kB / 492.1 MB, free: 7.895 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.0005325/0.2927, allocations: 458.8 kB / 492.6 MB, free: 7.398 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.2927, allocations: 8.031 kB / 492.6 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.917e-05/0.2928, allocations: 15.81 kB / 492.6 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.293, allocations: 214.8 kB / 492.8 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2931, allocations: 12 kB / 492.8 MB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.2931, allocations: 27.86 kB / 492.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.2934, allocations: 145.4 kB / 493 MB, free: 6.938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.2934, allocations: 4 kB / 493 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.2934, allocations: 8 kB / 493 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2935, allocations: 4 kB / 493 MB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.2937, allocations: 107.9 kB / 493.1 MB, free: 6.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007962/0.2945, allocations: 0.6003 MB / 493.7 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.2947, allocations: 114.6 kB / 493.8 MB, free: 6.039 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2947, allocations: 4 kB / 493.8 MB, free: 6.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.2947, allocations: 34.56 kB / 493.9 MB, free: 5.992 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.2948, allocations: 0 / 493.9 MB, free: 5.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.001377/0.2961, allocations: 0.8089 MB / 494.7 MB, free: 5.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/0.2962, allocations: 51.41 kB / 494.7 MB, free: 5.027 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.2963, allocations: 149.3 kB / 494.9 MB, free: 4.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.2963, allocations: 25.7 kB / 494.9 MB, free: 4.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.2964, allocations: 132.3 kB / 495 MB, free: 4.707 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/0.2964, allocations: 67 kB / 495.1 MB, free: 4.641 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.375e-06/0.2965, allocations: 4 kB / 495.1 MB, free: 4.637 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.2966, allocations: 330.8 kB / 495.4 MB, free: 4.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.2967, allocations: 40.36 kB / 495.5 MB, free: 4.262 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001088/0.2968, allocations: 79.16 kB / 495.6 MB, free: 4.176 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.2969, allocations: 59.92 kB / 495.6 MB, free: 4.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2969, allocations: 3.938 kB / 495.6 MB, free: 4.113 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003545/0.2973, allocations: 202.3 kB / 495.8 MB, free: 3.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2973, allocations: 8 kB / 495.8 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.2973, allocations: 0 / 495.8 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001535/0.2975, allocations: 48.7 kB / 495.9 MB, free: 3.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2976, allocations: 31.98 kB / 495.9 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.2987, allocations: 1.43 MB / 497.3 MB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.428e-05/0.2988, allocations: 12.02 kB / 497.3 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.2988, allocations: 11.89 kB / 497.3 MB, free: 2.234 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.0001091/0.2989, allocations: 141.6 kB / 497.5 MB, free: 2.086 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.299, allocations: 11.81 kB / 497.5 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.324e-05/0.299, allocations: 21.19 kB / 497.5 MB, free: 2.051 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.299, allocations: 8.031 kB / 497.5 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.299, allocations: 0 / 497.5 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.299, allocations: 3.984 kB / 497.5 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.2998, allocations: 0.5948 MB / 498.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2998, allocations: 0 / 498.1 MB, free: 1.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.2999, allocations: 35.92 kB / 498.2 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/0.3, allocations: 32.83 kB / 498.2 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3001, allocations: 8 kB / 498.2 MB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009695/0.301, allocations: 1.366 MB / 499.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3011, allocations: 0 / 499.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.3015, allocations: 350.3 kB / 499.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.3016, allocations: 92.95 kB / 0.4883 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.3016, allocations: 3.984 kB / 0.4883 GB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.3017, allocations: 8 kB / 0.4883 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.3018, allocations: 20 kB / 0.4883 GB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.3018, allocations: 0 / 0.4883 GB, free: 15.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.3019, allocations: 123.2 kB / 0.4884 GB, free: 15.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3019, allocations: 0 / 0.4884 GB, free: 15.18 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.3021, allocations: 44 kB / 0.4885 GB, free: 15.14 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.000123/0.3023, allocations: 103.5 kB / 0.4886 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004427/0.3027, allocations: 258.5 kB / 0.4888 GB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3027, allocations: 0 / 0.4888 GB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002391/0.303, allocations: 196.9 kB / 0.489 GB, free: 14.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.3032, allocations: 15.98 kB / 0.489 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008407/0.3041, allocations: 0.6041 MB / 0.4896 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.3043, allocations: 0.7362 MB / 0.4903 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.866e-05/0.3044, allocations: 13.55 kB / 0.4903 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.3045, allocations: 19.44 kB / 0.4904 GB, free: 13.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3045, allocations: 0 / 0.4904 GB, free: 13.12 MB / 378.7 MB Notification: Performance of Templates: time 0.003913/0.3084, allocations: 1.655 MB / 0.492 GB, free: 11.48 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/jenkins/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