Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008867/0.0008869, allocations: 179.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007575/0.0007575, allocations: 94.3 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.000365, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2496, allocations: 47.58 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002361/0.252, allocations: 1.751 MB / 378.3 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009941/0.253, allocations: 0.5556 MB / 378.9 MB, free: 43.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001667/0.2532, allocations: 8.031 kB / 378.9 MB, free: 43.78 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.2534, allocations: 26.59 kB / 378.9 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.2535, allocations: 45.8 kB / 379 MB, free: 43.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.2537, allocations: 38.59 kB / 379 MB, free: 43.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002356/0.2539, allocations: 195.4 kB / 379.2 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.2541, allocations: 75.86 kB / 379.3 MB, free: 43.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001266/0.2542, allocations: 62.08 kB / 379.3 MB, free: 43.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.2544, allocations: 70.97 kB / 379.4 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.2544, allocations: 9.188 kB / 379.4 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.763e-05/0.2545, allocations: 9.719 kB / 379.4 MB, free: 43.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.326e-05/0.2545, allocations: 31.59 kB / 379.5 MB, free: 43.42 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.2546, allocations: 102.5 kB / 379.6 MB, free: 43.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.2549, allocations: 197.6 kB / 379.8 MB, free: 43.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2549, allocations: 0 / 379.8 MB, free: 43.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2549, allocations: 5.25 kB / 379.8 MB, free: 43.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.2549, allocations: 0 / 379.8 MB, free: 43.19 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.0006463/0.2556, allocations: 449.1 kB / 380.2 MB, free: 42.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.2556, allocations: 9.906 kB / 380.2 MB, free: 42.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.021e-05/0.2557, allocations: 29.84 kB / 380.2 MB, free: 42.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.2559, allocations: 223 kB / 380.5 MB, free: 42.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.03e-05/0.256, allocations: 15.91 kB / 380.5 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.256, allocations: 14.78 kB / 380.5 MB, free: 42.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.2564, allocations: 156.5 kB / 380.6 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.2564, allocations: 0.9688 kB / 380.6 MB, free: 42.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.2565, allocations: 9.016 kB / 380.6 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.2565, allocations: 4.719 kB / 380.7 MB, free: 42.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.2567, allocations: 112.7 kB / 380.8 MB, free: 42.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008332/0.2576, allocations: 0.5957 MB / 381.4 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.2578, allocations: 118.7 kB / 381.5 MB, free: 41.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.579e-05/0.2579, allocations: 43.25 kB / 381.5 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2579, allocations: 5.109 kB / 381.5 MB, free: 41.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.2579, allocations: 40.34 kB / 381.6 MB, free: 41.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2579, allocations: 4 kB / 381.6 MB, free: 41.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.001432/0.2594, allocations: 0.8029 MB / 382.4 MB, free: 40.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/0.2594, allocations: 53.56 kB / 382.4 MB, free: 40.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.2596, allocations: 155.9 kB / 382.6 MB, free: 40.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2596, allocations: 31.11 kB / 382.6 MB, free: 40.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.935e-05/0.2597, allocations: 128.5 kB / 382.7 MB, free: 40.63 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.2597, allocations: 63.14 kB / 382.8 MB, free: 40.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.2597, allocations: 3.938 kB / 382.8 MB, free: 40.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.2598, allocations: 334.3 kB / 383.1 MB, free: 40.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.2599, allocations: 44.77 kB / 383.2 MB, free: 40.22 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.26, allocations: 74.12 kB / 383.2 MB, free: 40.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.2603, allocations: 137.9 kB / 383.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2603, allocations: 1.406 kB / 383.4 MB, free: 40.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003664/0.2606, allocations: 207.2 kB / 383.6 MB, free: 39.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2607, allocations: 9.938 kB / 383.6 MB, free: 39.95 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.2607, allocations: 0 / 383.6 MB, free: 39.95 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001736/0.2609, allocations: 40.95 kB / 383.6 MB, free: 39.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.261, allocations: 33.08 kB / 383.7 MB, free: 39.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009824/0.262, allocations: 1.416 MB / 385.1 MB, free: 38.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.2621, allocations: 15.34 kB / 385.1 MB, free: 38.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.2622, allocations: 5.781 kB / 385.1 MB, free: 38.49 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.838e-05/0.2623, allocations: 141.4 kB / 385.2 MB, free: 38.35 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.2623, allocations: 18.89 kB / 385.3 MB, free: 38.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.2624, allocations: 16.69 kB / 385.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2624, allocations: 2.219 kB / 385.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2624, allocations: 1.094 kB / 385.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2624, allocations: 0 / 385.3 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006898/0.2631, allocations: 0.5965 MB / 385.9 MB, free: 37.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2631, allocations: 5.234 kB / 385.9 MB, free: 37.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.2632, allocations: 27.02 kB / 385.9 MB, free: 37.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.2634, allocations: 32.94 kB / 385.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.2634, allocations: 4.969 kB / 385.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007573/0.2641, allocations: 1.372 MB / 387.3 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2642, allocations: 1.25 kB / 387.3 MB, free: 36.37 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004658/0.2646, allocations: 345.5 kB / 387.6 MB, free: 36.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.2647, allocations: 92.98 kB / 387.7 MB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.2647, allocations: 5.312 kB / 387.7 MB, free: 36.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/0.2648, allocations: 7.312 kB / 387.7 MB, free: 36.01 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.722e-05/0.2649, allocations: 14.33 kB / 387.8 MB, free: 36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2649, allocations: 11.36 kB / 387.8 MB, free: 36 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.025e-05/0.265, allocations: 116.7 kB / 387.9 MB, free: 35.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.265, allocations: 0 / 387.9 MB, free: 35.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002819/0.2652, allocations: 42.03 kB / 387.9 MB, free: 35.9 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.958e-05/0.2654, allocations: 112.5 kB / 388 MB, free: 35.8 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004449/0.2658, allocations: 254.3 kB / 388.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2658, allocations: 1 kB / 388.3 MB, free: 35.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.2661, allocations: 199.7 kB / 388.5 MB, free: 35.47 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003554/0.2664, allocations: 27.67 kB / 388.5 MB, free: 35.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008198/0.2672, allocations: 0.6233 MB / 389.1 MB, free: 34.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.2674, allocations: 0.7285 MB / 389.9 MB, free: 34.25 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.646e-05/0.2675, allocations: 14.08 kB / 389.9 MB, free: 34.24 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.2676, allocations: 15.25 kB / 389.9 MB, free: 34.23 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2676, allocations: 4 kB / 389.9 MB, free: 34.23 MB / 298.7 MB Notification: Performance of Templates: time 0.004157/0.2717, allocations: 1.715 MB / 391.6 MB, free: 32.68 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches