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.0007751/0.0007751, allocations: 76.08 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.0007025/0.0007025, allocations: 149.1 kB / 23.93 MB, free: 0.6289 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.8396/0.8396, allocations: 173.3 MB / 200.4 MB, free: 9.438 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.423e-06/1.423e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.502e-05, allocations: 6.219 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.002112/0.002127, allocations: 2.018 MB / 320.4 MB, free: 4.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007795/0.002906, allocations: 0.5142 MB / 321 MB, free: 3.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.003025, allocations: 7.938 kB / 321 MB, free: 3.812 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.003171, allocations: 31.66 kB / 321 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.954e-05/0.00326, allocations: 55.48 kB / 321 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.003468, allocations: 59.8 kB / 321.1 MB, free: 3.668 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.003695, allocations: 215 kB / 321.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.003851, allocations: 49.77 kB / 321.4 MB, free: 3.402 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.003969, allocations: 111.8 kB / 321.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.004071, allocations: 63.8 kB / 321.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.004104, allocations: 16 kB / 321.5 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.004123, allocations: 16 kB / 321.6 MB, free: 3.199 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.004153, allocations: 31.91 kB / 321.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.625e-05/0.004209, allocations: 67.83 kB / 321.7 MB, free: 3.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.004429, allocations: 211.3 kB / 321.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004432, allocations: 0 / 321.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.004432, allocations: 0 / 321.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.004438, allocations: 4 kB / 321.9 MB, free: 2.891 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.0005255/0.004963, allocations: 400.8 kB / 322.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.00501, allocations: 12.92 kB / 322.3 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.605e-05/0.005056, allocations: 50.73 kB / 322.3 MB, free: 2.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.005094, allocations: 28.8 kB / 322.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.005309, allocations: 164.4 kB / 322.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.005323, allocations: 12.36 kB / 322.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.005351, allocations: 24.38 kB / 322.6 MB, free: 2.156 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.005594, allocations: 153.8 kB / 322.7 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.005608, allocations: 192 / 322.7 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.005624, allocations: 12.12 kB / 322.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.005631, allocations: 4 kB / 322.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.005784, allocations: 103.9 kB / 322.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.006429, allocations: 0.5139 MB / 323.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.006619, allocations: 118.5 kB / 323.4 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.872e-05/0.006678, allocations: 36.84 kB / 323.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.006698, allocations: 0 / 323.5 MB, free: 1.156 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.006727, allocations: 38.56 kB / 323.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.006729, allocations: 0 / 323.5 MB, free: 1.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001174/0.007903, allocations: 0.6541 MB / 324.2 MB, free: 408 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.00794, allocations: 51.41 kB / 324.2 MB, free: 344 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.008062, allocations: 162.9 kB / 324.4 MB, free: 172 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.00808, allocations: 29.7 kB / 324.4 MB, free: 136 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.008159, allocations: 132.4 kB / 324.5 MB, free: 0 / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.008203, allocations: 71.36 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.008251, allocations: 37.66 kB / 324.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.008356, allocations: 322.8 kB / 325 MB, free: 15.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.008428, allocations: 47.97 kB / 325 MB, free: 15.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.51e-05/0.008523, allocations: 82.53 kB / 325.1 MB, free: 15.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.008979, allocations: 132.8 kB / 325.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.00898, allocations: 0 / 325.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002418/0.009222, allocations: 206.2 kB / 325.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.009236, allocations: 7.938 kB / 325.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.009242, allocations: 0 / 325.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.00938, allocations: 44.89 kB / 325.5 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/0.009492, allocations: 35.92 kB / 325.5 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009489/0.01044, allocations: 1.417 MB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.524e-05/0.01049, allocations: 8 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.0105, allocations: 8 kB / 326.9 MB, free: 13.44 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 0.0001025/0.0106, allocations: 137.8 kB / 327.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.01062, allocations: 11.95 kB / 327.1 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.01065, allocations: 21.12 kB / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.01065, allocations: 0 / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.01066, allocations: 0 / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.01066, allocations: 0 / 327.1 MB, free: 13.26 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005478/0.01121, allocations: 0.5364 MB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.01121, allocations: 4 kB / 327.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.981e-05/0.0113, allocations: 31.92 kB / 327.7 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001045/0.01141, allocations: 36.77 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.01142, allocations: 4 kB / 327.7 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006994/0.01212, allocations: 1.37 MB / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01212, allocations: 0 / 329.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.01241, allocations: 342.6 kB / 329.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.01242, allocations: 15.92 kB / 329.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.01244, allocations: 4 kB / 329.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.889e-05/0.01248, allocations: 4 kB / 329.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.01252, allocations: 19.91 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.01253, allocations: 4 kB / 329.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.774e-05/0.01258, allocations: 119.2 kB / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01259, allocations: 0 / 329.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001862/0.01277, allocations: 44 kB / 329.6 MB, free: 10.54 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.0004894/0.01326, allocations: 0.8693 MB / 330.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.01359, allocations: 244.2 kB / 330.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01359, allocations: 0 / 330.7 MB, free: 9.391 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.01372, allocations: 190.6 kB / 330.9 MB, free: 9.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01396, allocations: 34.7 kB / 331 MB, free: 9.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.01574, allocations: 2.072 MB / 333 MB, free: 6.984 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.06e-05/0.01581, allocations: 116.2 kB / 333.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.01587, allocations: 21.47 kB / 333.2 MB, free: 6.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.948e-05/0.01593, allocations: 48.48 kB / 333.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01593, allocations: 0 / 333.2 MB, free: 6.781 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.03526, allocations: 4.512 MB / 337.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.716/6.752, allocations: 3.094 kB / 337.7 MB, free: 2.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.372876844368875]