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.001005/0.001005, allocations: 180.5 kB / 17.41 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0007986/0.0007986, allocations: 82.38 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 12 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1958, allocations: 47.57 MB / 375.7 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08005/0.2758, allocations: 77.62 MB / 453.3 MB, free: 3.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.2761, allocations: 71.95 kB / 453.4 MB, free: 2.945 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007817/0.2839, allocations: 3.129 MB / 456.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2839, allocations: 0 / 456.5 MB, free: 15.81 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.284, allocations: 4 kB / 456.5 MB, free: 15.8 MB / 346.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.00051/0.2845, allocations: 442.9 kB / 457 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.2845, allocations: 8.031 kB / 457 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.2846, allocations: 20.75 kB / 457 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.2848, allocations: 229.8 kB / 457.2 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.2848, allocations: 12.38 kB / 457.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.2849, allocations: 16.38 kB / 457.3 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.2852, allocations: 158 kB / 457.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.2852, allocations: 192 / 457.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.2852, allocations: 11.94 kB / 457.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2852, allocations: 4 kB / 457.4 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.2855, allocations: 115.7 kB / 457.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000821/0.2863, allocations: 0.5965 MB / 458.1 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.2865, allocations: 110.6 kB / 458.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.2866, allocations: 44.84 kB / 458.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.2867, allocations: 4 kB / 458.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2867, allocations: 34.56 kB / 458.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2867, allocations: 3.938 kB / 458.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.001393/0.2881, allocations: 0.8011 MB / 459.1 MB, free: 12.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.2882, allocations: 55.41 kB / 459.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.2883, allocations: 172.7 kB / 459.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2884, allocations: 29.7 kB / 459.4 MB, free: 12.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.2884, allocations: 128.3 kB / 459.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.21e-05/0.2885, allocations: 67.09 kB / 459.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.2885, allocations: 0 / 459.6 MB, free: 12.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2886, allocations: 330.8 kB / 459.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-05/0.2887, allocations: 39.98 kB / 459.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.2888, allocations: 87.34 kB / 460 MB, free: 12.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.2891, allocations: 131.3 kB / 460.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2891, allocations: 0 / 460.2 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003825/0.2895, allocations: 208.5 kB / 460.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.2895, allocations: 14.28 kB / 460.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2895, allocations: 0 / 460.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001576/0.2897, allocations: 40.83 kB / 460.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.2899, allocations: 35.98 kB / 460.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.291, allocations: 1.425 MB / 461.9 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.645e-05/0.2911, allocations: 12.06 kB / 461.9 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.2912, allocations: 4 kB / 461.9 MB, free: 9.996 MB / 346.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.0001227/0.2913, allocations: 137.8 kB / 462 MB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.2913, allocations: 11.91 kB / 462 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.357e-05/0.2914, allocations: 17.19 kB / 462 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2914, allocations: 3.938 kB / 462.1 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.2914, allocations: 0 / 462.1 MB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2914, allocations: 7.984 kB / 462.1 MB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.2922, allocations: 0.5916 MB / 462.6 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2922, allocations: 0 / 462.6 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001502/0.2924, allocations: 35.92 kB / 462.7 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.2925, allocations: 28.84 kB / 462.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.2925, allocations: 7.984 kB / 462.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009974/0.2935, allocations: 1.371 MB / 464.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2935, allocations: 4 kB / 464.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.294, allocations: 345.9 kB / 464.4 MB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.2941, allocations: 85.05 kB / 464.5 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2941, allocations: 3.938 kB / 464.5 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.2942, allocations: 11.94 kB / 464.5 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2943, allocations: 15.97 kB / 464.5 MB, free: 7.082 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.2943, allocations: 8 kB / 464.6 MB, free: 7.074 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.204e-05/0.2944, allocations: 115.2 kB / 464.7 MB, free: 6.961 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2944, allocations: 0 / 464.7 MB, free: 6.961 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.2947, allocations: 44 kB / 464.7 MB, free: 6.918 MB / 346.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.0001312/0.2948, allocations: 108.3 kB / 464.8 MB, free: 6.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004505/0.2953, allocations: 250.4 kB / 465.1 MB, free: 6.547 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2953, allocations: 4 kB / 465.1 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002526/0.2956, allocations: 202.6 kB / 465.3 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.2959, allocations: 23.92 kB / 465.3 MB, free: 6.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.2968, allocations: 0.6283 MB / 465.9 MB, free: 5.648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.2971, allocations: 0.7245 MB / 466.6 MB, free: 4.898 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.516e-05/0.2971, allocations: 23.42 kB / 466.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2971, allocations: 0 / 466.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of Templates: time 0.004144/0.3013, allocations: 2.835 MB / 469.5 MB, free: 2.039 MB / 346.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