Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008186/0.0008186, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003647/0.003647, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8693/0.8693, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 298.4 MB, free: 3.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.542e-05, allocations: 2.281 kB / 298.4 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002798/0.002813, allocations: 2.024 MB / 300.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008717/0.003685, allocations: 0.5541 MB / 301 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.003807, allocations: 7.938 kB / 301 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.003948, allocations: 27.72 kB / 301 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.004052, allocations: 59.48 kB / 301.1 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.004248, allocations: 55.81 kB / 301.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.004479, allocations: 211 kB / 301.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.004631, allocations: 49.77 kB / 301.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.004765, allocations: 107.8 kB / 301.5 MB, free: 440 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.004881, allocations: 59.8 kB / 301.6 MB, free: 380 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.004916, allocations: 16 kB / 301.6 MB, free: 364 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.503e-05/0.004941, allocations: 20 kB / 301.6 MB, free: 344 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.707e-05/0.004978, allocations: 43.83 kB / 301.6 MB, free: 300 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.135e-05/0.00504, allocations: 59.84 kB / 301.7 MB, free: 240 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.00527, allocations: 215.3 kB / 301.9 MB, free: 24 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005273, allocations: 4 kB / 301.9 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.005274, allocations: 0 / 301.9 MB, free: 20 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.005279, allocations: 0 / 301.9 MB, free: 20 kB / 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.1367/0.142, allocations: 398 kB / 302.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.142, allocations: 13.67 kB / 302.3 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.1421, allocations: 53.47 kB / 302.4 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.1421, allocations: 25.48 kB / 302.4 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.1424, allocations: 159.8 kB / 302.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1424, allocations: 13.09 kB / 302.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.1424, allocations: 22.75 kB / 302.6 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.1427, allocations: 158.8 kB / 302.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1427, allocations: 4.141 kB / 302.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1427, allocations: 8.188 kB / 302.8 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1427, allocations: 7.219 kB / 302.8 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1428, allocations: 100.3 kB / 302.9 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.1435, allocations: 0.5198 MB / 303.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.1436, allocations: 109.2 kB / 303.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.765e-05/0.1437, allocations: 43.05 kB / 303.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1437, allocations: 1.125 kB / 303.5 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.1437, allocations: 36.5 kB / 303.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.1437, allocations: 0 / 303.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.000966/0.1447, allocations: 0.642 MB / 304.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.1447, allocations: 53.56 kB / 304.3 MB, free: 12.99 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.1448, allocations: 160.9 kB / 304.4 MB, free: 12.89 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.1448, allocations: 29.48 kB / 304.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.1449, allocations: 131.9 kB / 304.6 MB, free: 12.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.1449, allocations: 64.69 kB / 304.6 MB, free: 12.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.1449, allocations: 37.86 kB / 304.7 MB, free: 12.7 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.292e-05/0.145, allocations: 327.3 kB / 305 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.58e-05/0.145, allocations: 40.7 kB / 305 MB, free: 12.39 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.1451, allocations: 78.91 kB / 305.1 MB, free: 12.35 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.1452, allocations: 138.5 kB / 305.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1452, allocations: 0.625 kB / 305.2 MB, free: 12.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000229/0.1455, allocations: 200.4 kB / 305.4 MB, free: 12.26 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.1455, allocations: 14.84 kB / 305.5 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1455, allocations: 5.797 kB / 305.5 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001305/0.1456, allocations: 38.91 kB / 305.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.863e-05/0.1457, allocations: 34.23 kB / 305.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000661/0.1464, allocations: 1.417 MB / 307 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1464, allocations: 7.969 kB / 307 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/0.1464, allocations: 10.23 kB / 307 MB, free: 10.9 MB / 282.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.17e-05/0.1465, allocations: 131 kB / 307.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1465, allocations: 14.47 kB / 307.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.1466, allocations: 22.86 kB / 307.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1466, allocations: 2.25 kB / 307.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.1466, allocations: 1.969 kB / 307.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1466, allocations: 7.188 kB / 307.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004781/0.147, allocations: 0.543 MB / 307.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.147, allocations: 0 / 307.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.713e-05/0.1471, allocations: 28.42 kB / 307.7 MB, free: 10.33 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-05/0.1472, allocations: 35.53 kB / 307.8 MB, free: 10.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1472, allocations: 9.219 kB / 307.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004821/0.1477, allocations: 1.37 MB / 309.1 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1477, allocations: 2.109 kB / 309.1 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002857/0.148, allocations: 337.6 kB / 309.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.542e-05/0.148, allocations: 15.39 kB / 309.5 MB, free: 8.762 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.148, allocations: 6.422 kB / 309.5 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.1481, allocations: 2.141 kB / 309.5 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.1481, allocations: 24.19 kB / 309.5 MB, free: 8.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1481, allocations: 3.719 kB / 309.5 MB, free: 8.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.197e-05/0.1482, allocations: 122.8 kB / 309.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1482, allocations: 0 / 309.6 MB, free: 8.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002026/0.1484, allocations: 46.06 kB / 309.7 MB, free: 8.652 MB / 282.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.0003851/0.1487, allocations: 0.8625 MB / 310.5 MB, free: 7.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003203/0.1491, allocations: 250.3 kB / 310.8 MB, free: 7.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1491, allocations: 1.156 kB / 310.8 MB, free: 7.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.1492, allocations: 187 kB / 311 MB, free: 7.613 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.1494, allocations: 30.27 kB / 311 MB, free: 7.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1509, allocations: 2.076 MB / 313.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.086e-05/0.151, allocations: 119.7 kB / 313.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.046e-05/0.151, allocations: 13.3 kB / 313.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.1511, allocations: 53.06 kB / 313.3 MB, free: 5.875 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1511, allocations: 0 / 313.3 MB, free: 5.875 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.1722, allocations: 4.507 MB / 317.8 MB, free: 4.52 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.063/7.235, allocations: 1.469 kB / 317.8 MB, free: 4.52 MB / 282.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.972440543584526]