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.001167/0.001167, allocations: 173.9 kB / 16.72 MB, free: 4.93 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.312/1.312, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007611/0.0007611, allocations: 89.41 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003454, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2835, allocations: 47.58 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003017/0.2865, allocations: 1.75 MB / 376.8 MB, free: 44.03 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.288, allocations: 0.5493 MB / 377.4 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.2882, allocations: 4.625 kB / 377.4 MB, free: 43.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001737/0.2884, allocations: 27.19 kB / 377.4 MB, free: 43.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.2886, allocations: 41.34 kB / 377.5 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.2889, allocations: 39.36 kB / 377.5 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003263/0.2892, allocations: 191.6 kB / 377.7 MB, free: 43.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002295/0.2895, allocations: 63.41 kB / 377.7 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.2896, allocations: 60.84 kB / 377.8 MB, free: 43.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.2898, allocations: 68.83 kB / 377.9 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.2899, allocations: 8.656 kB / 377.9 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.178e-05/0.29, allocations: 12.28 kB / 377.9 MB, free: 43.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.29, allocations: 29.66 kB / 377.9 MB, free: 43.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.2902, allocations: 105 kB / 378 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00022/0.2904, allocations: 157.1 kB / 378.2 MB, free: 43.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2905, allocations: 0.9375 kB / 378.2 MB, free: 43.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2905, allocations: 0 / 378.2 MB, free: 43.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.2905, allocations: 0 / 378.2 MB, free: 43.04 MB / 298.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.0007707/0.2913, allocations: 446.1 kB / 378.6 MB, free: 42.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.2913, allocations: 17.58 kB / 378.6 MB, free: 42.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.785e-05/0.2914, allocations: 18.31 kB / 378.6 MB, free: 42.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.2917, allocations: 228.9 kB / 378.9 MB, free: 42.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.2918, allocations: 10.47 kB / 378.9 MB, free: 42.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.272e-05/0.2918, allocations: 15.88 kB / 378.9 MB, free: 42.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.2923, allocations: 159.5 kB / 379.1 MB, free: 42.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.2924, allocations: 5 kB / 379.1 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.2924, allocations: 5.094 kB / 379.1 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.2924, allocations: 4.125 kB / 379.1 MB, free: 42.23 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004076/0.2929, allocations: 112.8 kB / 379.2 MB, free: 42.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.2942, allocations: 0.6032 MB / 379.8 MB, free: 41.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003989/0.2946, allocations: 111.8 kB / 379.9 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001749/0.2948, allocations: 46.47 kB / 379.9 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.2948, allocations: 2.219 kB / 379.9 MB, free: 41.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.2949, allocations: 43.64 kB / 380 MB, free: 41.49 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.2949, allocations: 0 / 380 MB, free: 41.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.002349/0.2972, allocations: 0.7993 MB / 380.8 MB, free: 40.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.2973, allocations: 51.41 kB / 380.8 MB, free: 40.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.2975, allocations: 166 kB / 381 MB, free: 40.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.2975, allocations: 30.86 kB / 381 MB, free: 40.6 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.2976, allocations: 131.9 kB / 381.1 MB, free: 40.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.152e-05/0.2977, allocations: 62.61 kB / 381.2 MB, free: 40.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.2977, allocations: 1.312 kB / 381.2 MB, free: 40.42 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.2978, allocations: 330 kB / 381.5 MB, free: 40.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.298, allocations: 48 kB / 381.6 MB, free: 40.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.2983, allocations: 82.31 kB / 381.7 MB, free: 40.01 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.2987, allocations: 132.3 kB / 381.8 MB, free: 39.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2987, allocations: 0 / 381.8 MB, free: 39.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006813/0.2994, allocations: 216.3 kB / 382 MB, free: 39.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.2994, allocations: 5.094 kB / 382 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.2995, allocations: 1.625 kB / 382 MB, free: 39.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002217/0.2997, allocations: 39.14 kB / 382 MB, free: 39.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.3, allocations: 31.45 kB / 382.1 MB, free: 39.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.3014, allocations: 1.423 MB / 383.5 MB, free: 38.35 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.3016, allocations: 12.44 kB / 383.5 MB, free: 38.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.3016, allocations: 8.406 kB / 383.5 MB, free: 38.34 MB / 298.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.0001453/0.3018, allocations: 134.2 kB / 383.7 MB, free: 38.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.3019, allocations: 14.81 kB / 383.7 MB, free: 38.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.3019, allocations: 20.31 kB / 383.7 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.302, allocations: 5.891 kB / 383.7 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.302, allocations: 0.7188 kB / 383.7 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.302, allocations: 1.156 kB / 383.7 MB, free: 38.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.3032, allocations: 0.5977 MB / 384.3 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3033, allocations: 0 / 384.3 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002826/0.3036, allocations: 31.22 kB / 384.3 MB, free: 37.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001885/0.3038, allocations: 37.25 kB / 384.4 MB, free: 37.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3038, allocations: 5.062 kB / 384.4 MB, free: 37.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.305, allocations: 1.371 MB / 385.7 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.3051, allocations: 1.062 kB / 385.7 MB, free: 36.22 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.3059, allocations: 341.4 kB / 386.1 MB, free: 35.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.3059, allocations: 96.28 kB / 386.2 MB, free: 35.87 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.306, allocations: 5.281 kB / 386.2 MB, free: 35.87 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.3062, allocations: 12 kB / 386.2 MB, free: 35.86 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.057e-05/0.3063, allocations: 9.797 kB / 386.2 MB, free: 35.86 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3063, allocations: 7.625 kB / 386.2 MB, free: 35.85 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3065, allocations: 117.3 kB / 386.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.3065, allocations: 0 / 386.3 MB, free: 35.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000524/0.307, allocations: 42.72 kB / 386.4 MB, free: 35.75 MB / 298.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.0001378/0.3072, allocations: 113.6 kB / 386.5 MB, free: 35.65 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007632/0.3079, allocations: 250.2 kB / 386.7 MB, free: 35.48 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.308, allocations: 0 / 386.7 MB, free: 35.48 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004237/0.3084, allocations: 200.2 kB / 386.9 MB, free: 35.32 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000603/0.309, allocations: 29.47 kB / 386.9 MB, free: 35.3 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3104, allocations: 0.6275 MB / 387.6 MB, free: 34.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.3107, allocations: 0.7256 MB / 388.3 MB, free: 34.09 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.3108, allocations: 15.25 kB / 388.3 MB, free: 34.08 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3108, allocations: 1.219 kB / 388.3 MB, free: 34.08 MB / 298.7 MB Notification: Performance of Templates: time 0.00723/0.318, allocations: 2.837 MB / 391.1 MB, free: 31.84 MB / 298.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/jenkins/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