Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007827/0.0007827, allocations: 97.7 kB / 17.31 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008322/0.0008322, allocations: 178.2 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.11/1.11, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002064/0.0002064, allocations: 7.938 kB / 302.1 MB, free: 6.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06991/0.07013, allocations: 50.41 MB / 352.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001752/0.07191, allocations: 1.812 MB / 354.3 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006201/0.07255, allocations: 0.5299 MB / 354.8 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.896e-05/0.07264, allocations: 4 kB / 354.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.07275, allocations: 23.78 kB / 354.9 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.07283, allocations: 47.62 kB / 354.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.07297, allocations: 43.95 kB / 354.9 MB, free: 1.23 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.07316, allocations: 199.1 kB / 355.1 MB, free: 1.035 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.07329, allocations: 53.52 kB / 355.2 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.376e-05/0.07336, allocations: 67.7 kB / 355.3 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.919e-05/0.07347, allocations: 71.7 kB / 355.3 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.0735, allocations: 15.94 kB / 355.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.237e-05/0.07352, allocations: 11.94 kB / 355.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.07356, allocations: 27.86 kB / 355.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.07364, allocations: 109.2 kB / 355.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.07378, allocations: 159.8 kB / 355.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.07378, allocations: 0 / 355.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.07379, allocations: 0 / 355.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.0738, allocations: 0 / 355.6 MB, free: 0.5195 MB / 286.1 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.0004746/0.07428, allocations: 447 kB / 356.1 MB, free: 36 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.748e-05/0.07431, allocations: 8.031 kB / 356.1 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.07436, allocations: 20.66 kB / 356.1 MB, free: 8 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.07455, allocations: 220 kB / 356.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.07457, allocations: 12.38 kB / 356.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.699e-05/0.07461, allocations: 20.38 kB / 356.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.07488, allocations: 157.7 kB / 356.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.0749, allocations: 4 kB / 356.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.07492, allocations: 8 kB / 356.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.07493, allocations: 7.938 kB / 356.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.07514, allocations: 103.9 kB / 356.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.07585, allocations: 0.6004 MB / 357.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.07606, allocations: 118.6 kB / 357.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.123e-05/0.07615, allocations: 48.84 kB / 357.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.07617, allocations: 0 / 357.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.0762, allocations: 34.5 kB / 357.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.143e-06/0.0762, allocations: 0 / 357.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.001241/0.07745, allocations: 0.8081 MB / 358.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.07749, allocations: 51.41 kB / 358.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.0776, allocations: 158.2 kB / 358.4 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.07763, allocations: 29.7 kB / 358.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.96e-05/0.07769, allocations: 140.1 kB / 358.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.07774, allocations: 63.09 kB / 358.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.07778, allocations: 25.7 kB / 358.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.07787, allocations: 322.8 kB / 359 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.474e-05/0.07797, allocations: 47.92 kB / 359.1 MB, free: 12.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.07808, allocations: 90.34 kB / 359.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.07829, allocations: 130.8 kB / 359.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.07829, allocations: 0 / 359.3 MB, free: 12.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003423/0.07864, allocations: 210.1 kB / 359.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.07867, allocations: 11.94 kB / 359.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.07868, allocations: 0 / 359.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00014/0.07882, allocations: 40.83 kB / 359.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.07896, allocations: 39.98 kB / 359.6 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009687/0.07994, allocations: 1.414 MB / 361 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.584e-05/0.08003, allocations: 12.09 kB / 361 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.08005, allocations: 12 kB / 361 MB, free: 10.68 MB / 302.1 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.54e-05/0.08015, allocations: 137.7 kB / 361.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.08019, allocations: 15.81 kB / 361.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.08023, allocations: 17.19 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.08024, allocations: 8.031 kB / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.08024, allocations: 0 / 361.2 MB, free: 10.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.08025, allocations: 3.984 kB / 361.2 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.08093, allocations: 0.5917 MB / 361.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.08095, allocations: 0 / 361.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/0.08109, allocations: 35.92 kB / 361.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-05/0.08119, allocations: 28.84 kB / 361.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.08121, allocations: 7.984 kB / 361.8 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000854/0.08207, allocations: 1.366 MB / 363.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.08208, allocations: 0 / 363.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.08253, allocations: 354.5 kB / 363.6 MB, free: 7.895 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.08257, allocations: 88.95 kB / 363.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.0826, allocations: 11.94 kB / 363.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.0827, allocations: 4 kB / 363.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.08275, allocations: 19.91 kB / 363.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.08276, allocations: 4 kB / 363.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.08284, allocations: 124.1 kB / 363.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08284, allocations: 0 / 363.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002546/0.0831, allocations: 40 kB / 363.8 MB, free: 7.59 MB / 302.1 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.156e-05/0.0832, allocations: 111.4 kB / 364 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003902/0.08359, allocations: 262.5 kB / 364.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.08361, allocations: 0 / 364.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.08383, allocations: 190.7 kB / 364.4 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.08415, allocations: 26.73 kB / 364.4 MB, free: 6.98 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007455/0.08491, allocations: 0.6491 MB / 365.1 MB, free: 6.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.08514, allocations: 0.7245 MB / 365.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.08519, allocations: 19.38 kB / 365.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of SimCode: time 1.593e-06/0.08519, allocations: 0 / 365.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of Templates: time 0.003831/0.08903, allocations: 2.848 MB / 368.7 MB, free: 2.68 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches