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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8656/0.8656, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 318.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.315e-06/9.437e-06, allocations: 2.281 kB / 318.4 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001977/0.001987, allocations: 2.024 MB / 320.4 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.00264, allocations: 0.5103 MB / 321 MB, free: 3.695 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.002741, allocations: 4 kB / 321 MB, free: 3.691 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.002862, allocations: 39.58 kB / 321 MB, free: 3.652 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.002935, allocations: 55.5 kB / 321.1 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.003092, allocations: 55.86 kB / 321.1 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.00326, allocations: 210.9 kB / 321.3 MB, free: 3.336 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.003388, allocations: 49.77 kB / 321.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.688e-05/0.003485, allocations: 115.8 kB / 321.5 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.957e-05/0.003575, allocations: 59.8 kB / 321.5 MB, free: 3.109 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.003603, allocations: 16 kB / 321.5 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.825e-05/0.003621, allocations: 16 kB / 321.6 MB, free: 3.078 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.749e-05/0.003649, allocations: 35.91 kB / 321.6 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.003696, allocations: 67.83 kB / 321.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.003872, allocations: 219.3 kB / 321.9 MB, free: 2.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003874, allocations: 0 / 321.9 MB, free: 2.762 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.003874, allocations: 0 / 321.9 MB, free: 2.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.003878, allocations: 0 / 321.9 MB, free: 2.762 MB / 282.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.0004376/0.004315, allocations: 393.6 kB / 322.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.249e-05/0.004348, allocations: 8.922 kB / 322.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.004386, allocations: 50.73 kB / 322.3 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.909e-05/0.004425, allocations: 32.73 kB / 322.4 MB, free: 2.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.004601, allocations: 165.5 kB / 322.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.004614, allocations: 12.38 kB / 322.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.004643, allocations: 16.38 kB / 322.5 MB, free: 2.035 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.004855, allocations: 157.7 kB / 322.7 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.004866, allocations: 192 / 322.7 MB, free: 1.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.00488, allocations: 8.125 kB / 322.7 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.004885, allocations: 8 kB / 322.7 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.005027, allocations: 99.94 kB / 322.8 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.005602, allocations: 0.5217 MB / 323.3 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.005757, allocations: 114.5 kB / 323.4 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.295e-05/0.005809, allocations: 40.84 kB / 323.5 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.005824, allocations: 0 / 323.5 MB, free: 1.027 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.005844, allocations: 38.55 kB / 323.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.005845, allocations: 0 / 323.5 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008894/0.006734, allocations: 0.6533 MB / 324.2 MB, free: 280 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.645e-05/0.006761, allocations: 55.41 kB / 324.2 MB, free: 212 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.443e-05/0.006855, allocations: 162.8 kB / 324.4 MB, free: 40 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.006868, allocations: 29.7 kB / 324.4 MB, free: 4 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/0.007192, allocations: 132.4 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.007227, allocations: 71.36 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.007269, allocations: 41.64 kB / 324.7 MB, free: 15.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.007343, allocations: 330.8 kB / 325 MB, free: 15.42 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.007407, allocations: 35.98 kB / 325 MB, free: 15.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.007482, allocations: 82.34 kB / 325.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.007627, allocations: 138.6 kB / 325.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.007628, allocations: 0 / 325.2 MB, free: 15.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002265/0.007855, allocations: 206.2 kB / 325.4 MB, free: 14.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.007867, allocations: 7.938 kB / 325.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007872, allocations: 4 kB / 325.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001145/0.007986, allocations: 40.83 kB / 325.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.008075, allocations: 27.98 kB / 325.5 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008182/0.008893, allocations: 1.417 MB / 326.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.00894, allocations: 16.11 kB / 326.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.008948, allocations: 4 kB / 326.9 MB, free: 13.31 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 7.775e-05/0.009026, allocations: 133.7 kB / 327.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.009045, allocations: 11.95 kB / 327.1 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.009069, allocations: 21.12 kB / 327.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.00907, allocations: 0 / 327.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.009074, allocations: 7.984 kB / 327.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.009076, allocations: 0 / 327.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.009557, allocations: 0.5364 MB / 327.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.009558, allocations: 0 / 327.7 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.009633, allocations: 27.92 kB / 327.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.514e-05/0.009698, allocations: 36.83 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.009707, allocations: 4 kB / 327.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006227/0.01033, allocations: 1.378 MB / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.01033, allocations: 0 / 329.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.01062, allocations: 338.4 kB / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.01064, allocations: 15.94 kB / 329.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.01064, allocations: 0 / 329.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.01069, allocations: 8 kB / 329.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.01073, allocations: 11.97 kB / 329.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.01073, allocations: 8 kB / 329.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.631e-05/0.01079, allocations: 119.2 kB / 329.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01079, allocations: 4.125 kB / 329.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001861/0.01098, allocations: 40 kB / 329.6 MB, free: 10.41 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 0.000461/0.01144, allocations: 0.8731 MB / 330.5 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003102/0.01175, allocations: 242.7 kB / 330.7 MB, free: 9.262 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.01175, allocations: 8 kB / 330.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.0119, allocations: 189.5 kB / 330.9 MB, free: 9.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01213, allocations: 27.86 kB / 331 MB, free: 9.031 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.01375, allocations: 2.064 MB / 333 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.454e-05/0.01383, allocations: 124.1 kB / 333.1 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.392e-05/0.01387, allocations: 21.47 kB / 333.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.01393, allocations: 52.47 kB / 333.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01393, allocations: 0 / 333.2 MB, free: 6.645 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.03185, allocations: 4.504 MB / 337.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.095, allocations: 3.266 kB / 337.7 MB, free: 2.289 MB / 298.7 MB " [Timeout remaining time 653] (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) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,inertia.phi,inertia.w Variables in the result:time,inertia.phi,inertia.w [Calling sys.exit(0), Time elapsed: 8.857211421243846]