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: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 112 kB / 17.06 MB, free: 5.988 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.00129/0.00129, allocations: 195.9 kB / 18 MB, free: 5.074 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.395/1.395, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.91 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2648, allocations: 49.44 MB / 400.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003688/0.2685, allocations: 2.096 MB / 402.3 MB, free: 6.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.2695, allocations: 0.5415 MB / 402.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.2697, allocations: 7.938 kB / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.2698, allocations: 31.72 kB / 402.9 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.27, allocations: 51.5 kB / 403 MB, free: 6.082 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.2701, allocations: 47.94 kB / 403 MB, free: 6.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003054/0.2705, allocations: 215 kB / 403.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.2706, allocations: 81.16 kB / 403.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.373e-05/0.2707, allocations: 75.66 kB / 403.4 MB, free: 5.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.2709, allocations: 87.61 kB / 403.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.696e-05/0.2709, allocations: 16 kB / 403.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.372e-05/0.271, allocations: 16 kB / 403.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.393e-05/0.271, allocations: 35.91 kB / 403.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.272e-05/0.2711, allocations: 87.55 kB / 403.6 MB, free: 5.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.2714, allocations: 214.1 kB / 403.8 MB, free: 5.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2714, allocations: 3.938 kB / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2714, allocations: 0 / 403.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.2714, allocations: 4 kB / 403.8 MB, free: 5.223 MB / 318.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.0007317/0.2722, allocations: 478.6 kB / 404.3 MB, free: 4.707 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.2722, allocations: 8.031 kB / 404.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.998e-05/0.2723, allocations: 54.73 kB / 404.3 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.2723, allocations: 20.8 kB / 404.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.2727, allocations: 228 kB / 404.6 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.2727, allocations: 12.38 kB / 404.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.2727, allocations: 20.31 kB / 404.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.2731, allocations: 157.5 kB / 404.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.2731, allocations: 4 kB / 404.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.2731, allocations: 4 kB / 404.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.2732, allocations: 4 kB / 404.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.2734, allocations: 107.7 kB / 404.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009276/0.2743, allocations: 0.5928 MB / 405.5 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.2746, allocations: 114.6 kB / 405.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.2747, allocations: 40.84 kB / 405.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2748, allocations: 3.938 kB / 405.6 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2748, allocations: 42.56 kB / 405.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2748, allocations: 0 / 405.7 MB, free: 3.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=18): time 0.001631/0.2764, allocations: 0.8061 MB / 406.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2765, allocations: 51.41 kB / 406.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2767, allocations: 166.1 kB / 406.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.2767, allocations: 29.7 kB / 406.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.618e-05/0.2768, allocations: 124.5 kB / 406.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.2768, allocations: 71.41 kB / 406.9 MB, free: 1.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.2769, allocations: 33.72 kB / 407 MB, free: 1.781 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.2771, allocations: 330.8 kB / 407.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.2772, allocations: 47.98 kB / 407.3 MB, free: 1.402 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2773, allocations: 73.09 kB / 407.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.2776, allocations: 138.7 kB / 407.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2776, allocations: 4 kB / 407.5 MB, free: 1.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000405/0.278, allocations: 202.2 kB / 407.7 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.278, allocations: 8 kB / 407.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.278, allocations: 0 / 407.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/0.2782, allocations: 40.83 kB / 407.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2784, allocations: 27.98 kB / 407.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.2799, allocations: 1.551 MB / 409.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.75e-05/0.28, allocations: 8.062 kB / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.28, allocations: 11.98 kB / 409.4 MB, free: 15.17 MB / 334.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 0.0001413/0.2802, allocations: 133.7 kB / 409.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.2802, allocations: 15.91 kB / 409.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.2803, allocations: 21.19 kB / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2803, allocations: 0 / 409.5 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.2803, allocations: 7.938 kB / 409.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.2803, allocations: 8.047 kB / 409.6 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.2812, allocations: 0.58 MB / 410.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.2812, allocations: 0 / 410.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.2814, allocations: 27.98 kB / 410.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.2815, allocations: 36.83 kB / 410.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.2816, allocations: 7.938 kB / 410.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001299/0.2829, allocations: 1.469 MB / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2829, allocations: 0 / 411.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.2834, allocations: 345.8 kB / 412 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.817e-05/0.2835, allocations: 101.1 kB / 412.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.2835, allocations: 0 / 412.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.2836, allocations: 4.125 kB / 412.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.2837, allocations: 19.97 kB / 412.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2837, allocations: 4 kB / 412.1 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001021/0.2838, allocations: 119.2 kB / 412.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2838, allocations: 4 kB / 412.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003027/0.2841, allocations: 43.94 kB / 412.3 MB, free: 11.98 MB / 334.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 0.0008705/0.285, allocations: 0.8731 MB / 413.2 MB, free: 11.08 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005572/0.2856, allocations: 254.4 kB / 413.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2856, allocations: 0 / 413.4 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.2859, allocations: 194.8 kB / 413.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.2862, allocations: 27.11 kB / 413.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.289, allocations: 2.127 MB / 415.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.2895, allocations: 0.7319 MB / 416.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.441e-05/0.2896, allocations: 21.53 kB / 416.5 MB, free: 7.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.454e-05/0.2897, allocations: 55.36 kB / 416.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of SimCode: time 2.495e-06/0.2897, allocations: 0 / 416.6 MB, free: 7.531 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.3239, allocations: 3.759 MB / 420.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.04/10.36, allocations: 7.875 kB / 420.3 MB, free: 3.891 MB / 334.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/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