Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008069/0.0008069, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008171/0.0008171, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8631/0.8631, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077e-05/1.21e-05, allocations: 6.219 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.001991/0.002003, allocations: 2.048 MB / 326.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.002773, allocations: 0.5493 MB / 327.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.002935, allocations: 7.938 kB / 327.2 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.003108, allocations: 35.72 kB / 327.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.003211, allocations: 55.42 kB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.003424, allocations: 47.94 kB / 327.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.00362, allocations: 214.9 kB / 327.5 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.003751, allocations: 47.39 kB / 327.5 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.941e-05/0.00385, allocations: 119.7 kB / 327.7 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.803e-05/0.003938, allocations: 55.86 kB / 327.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.825e-05/0.003966, allocations: 19.94 kB / 327.7 MB, free: 12.74 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.003985, allocations: 20 kB / 327.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.824e-05/0.004013, allocations: 39.89 kB / 327.8 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.004059, allocations: 59.84 kB / 327.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.004305, allocations: 219.3 kB / 328.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.004307, allocations: 0 / 328.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004308, allocations: 0 / 328.1 MB, free: 12.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.004313, allocations: 0 / 328.1 MB, free: 12.41 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.0004683/0.004781, allocations: 408.2 kB / 328.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.004816, allocations: 12.03 kB / 328.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.051e-05/0.004857, allocations: 50.73 kB / 328.5 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.004888, allocations: 20.84 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.005075, allocations: 161.5 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.005087, allocations: 12.38 kB / 328.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.005114, allocations: 16.38 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.005333, allocations: 154.1 kB / 328.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.005344, allocations: 192 / 328.9 MB, free: 11.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.005359, allocations: 12.12 kB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.005365, allocations: 8 kB / 328.9 MB, free: 11.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.005506, allocations: 103.7 kB / 329 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.006086, allocations: 0.518 MB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.006244, allocations: 106.6 kB / 329.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.006297, allocations: 40.83 kB / 329.7 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.006314, allocations: 7.938 kB / 329.7 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.006333, allocations: 30.56 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.006334, allocations: 4 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009485/0.007282, allocations: 0.6503 MB / 330.4 MB, free: 9.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.007311, allocations: 59.34 kB / 330.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.007408, allocations: 155 kB / 330.6 MB, free: 9.691 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.007421, allocations: 29.7 kB / 330.6 MB, free: 9.656 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.007481, allocations: 140.3 kB / 330.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.007515, allocations: 67.42 kB / 330.8 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.007557, allocations: 37.7 kB / 330.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.728e-05/0.007634, allocations: 326.8 kB / 331.2 MB, free: 9.078 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.116e-05/0.007695, allocations: 39.98 kB / 331.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.00777, allocations: 79.28 kB / 331.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.007942, allocations: 126.5 kB / 331.4 MB, free: 8.816 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007944, allocations: 3.938 kB / 331.4 MB, free: 8.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002698/0.008213, allocations: 210.3 kB / 331.6 MB, free: 8.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.00823, allocations: 11.94 kB / 331.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.008236, allocations: 0 / 331.6 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.008384, allocations: 40.78 kB / 331.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.008486, allocations: 27.98 kB / 331.7 MB, free: 8.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008995/0.009386, allocations: 1.428 MB / 333.1 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.009437, allocations: 8.031 kB / 333.1 MB, free: 6.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.009446, allocations: 4 kB / 333.1 MB, free: 6.965 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.472e-05/0.009541, allocations: 134.6 kB / 333.3 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.009563, allocations: 15.91 kB / 333.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.009593, allocations: 25.11 kB / 333.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.009594, allocations: 0 / 333.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.0096, allocations: 8.062 kB / 333.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.009603, allocations: 0 / 333.3 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005215/0.01012, allocations: 0.5287 MB / 333.8 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01013, allocations: 3.984 kB / 333.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.594e-05/0.01021, allocations: 31.92 kB / 333.9 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.578e-05/0.01029, allocations: 28.83 kB / 333.9 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.0103, allocations: 8 kB / 333.9 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007285/0.01103, allocations: 1.37 MB / 335.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01103, allocations: 4.031 kB / 335.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.01133, allocations: 346.2 kB / 335.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.398e-05/0.01134, allocations: 15.88 kB / 335.6 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.01136, allocations: 8 kB / 335.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.97e-05/0.0114, allocations: 8.125 kB / 335.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.01144, allocations: 11.97 kB / 335.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.01145, allocations: 4 kB / 335.7 MB, free: 4.219 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.796e-05/0.0115, allocations: 127.1 kB / 335.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0115, allocations: 0 / 335.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002017/0.01171, allocations: 48 kB / 335.8 MB, free: 4.047 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.0004685/0.01217, allocations: 0.8615 MB / 336.7 MB, free: 3.156 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003386/0.01251, allocations: 254.5 kB / 336.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01252, allocations: 0 / 336.9 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.01266, allocations: 189.2 kB / 337.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.0129, allocations: 31.89 kB / 337.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001675/0.01458, allocations: 2.067 MB / 339.2 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.026e-05/0.01467, allocations: 128.2 kB / 339.4 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.749e-05/0.01472, allocations: 13.48 kB / 339.4 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.01478, allocations: 52.48 kB / 339.4 MB, free: 292 kB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.01478, allocations: 0 / 339.4 MB, free: 292 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.03328, allocations: 4.509 MB / 343.9 MB, free: 11.92 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.029, allocations: 8.062 kB / 343.9 MB, free: 11.91 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.780992907471955]