Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.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.001783/0.001783, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.002212/0.002212, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 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 1.38/1.38, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 51.92 kB / 347.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2546, allocations: 49.16 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.179/0.4337, allocations: 150.9 MB / 0.5344 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00207/0.4357, allocations: 1.546 MB / 0.5359 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.4358, allocations: 0 / 0.5359 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.436, allocations: 23.84 kB / 0.536 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.437, allocations: 333.9 kB / 0.5363 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.4372, allocations: 55.75 kB / 0.5363 GB, free: 9.914 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.4373, allocations: 71.59 kB / 0.5364 GB, free: 9.844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.4374, allocations: 12 kB / 0.5364 GB, free: 9.832 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001147/0.4375, allocations: 31.86 kB / 0.5364 GB, free: 9.801 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.4376, allocations: 27.84 kB / 0.5365 GB, free: 9.773 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.4376, allocations: 7.938 kB / 0.5365 GB, free: 9.766 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008573/0.4385, allocations: 363.5 kB / 0.5368 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.4385, allocations: 8 kB / 0.5368 GB, free: 9.402 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.4385, allocations: 35.78 kB / 0.5369 GB, free: 9.367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.4392, allocations: 292.4 kB / 0.5371 GB, free: 9.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4392, allocations: 0 / 0.5371 GB, free: 9.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4392, allocations: 0 / 0.5371 GB, free: 9.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.4392, allocations: 4 kB / 0.5371 GB, free: 9.082 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009383/0.4401, allocations: 361.7 kB / 0.5375 GB, free: 8.699 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.4402, allocations: 11.98 kB / 0.5375 GB, free: 8.688 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.102e-05/0.4402, allocations: 42.73 kB / 0.5375 GB, free: 8.637 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00615/0.4464, allocations: 456.2 kB / 0.538 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.4465, allocations: 118.2 kB / 0.5381 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4465, allocations: 8 kB / 0.5381 GB, free: 8.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.682e-05/0.4466, allocations: 4 kB / 0.5381 GB, free: 8.039 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/0.4474, allocations: 301.3 kB / 0.5384 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4474, allocations: 0 / 0.5384 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.175e-05/0.4474, allocations: 0 / 0.5384 GB, free: 7.738 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4474, allocations: 4 kB / 0.5384 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008261/0.4483, allocations: 271.8 kB / 0.5387 GB, free: 7.469 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.4494, allocations: 403.8 kB / 0.539 GB, free: 7.031 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4504, allocations: 194.3 kB / 0.5392 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001981/0.4506, allocations: 73.06 kB / 0.5393 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.4506, allocations: 8 kB / 0.5393 GB, free: 6.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4507, allocations: 30.56 kB / 0.5393 GB, free: 6.711 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.4507, allocations: 0 / 0.5393 GB, free: 6.711 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.00181/0.4525, allocations: 425.1 kB / 0.5397 GB, free: 6.289 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.4525, allocations: 59.34 kB / 0.5398 GB, free: 6.219 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.4526, allocations: 97.86 kB / 0.5399 GB, free: 6.113 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.4527, allocations: 29.7 kB / 0.5399 GB, free: 6.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.399e-05/0.4527, allocations: 99.97 kB / 0.54 GB, free: 5.977 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.96e-05/0.4528, allocations: 63.47 kB / 0.5401 GB, free: 5.914 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/0.4529, allocations: 41.69 kB / 0.5401 GB, free: 5.867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.453, allocations: 318.8 kB / 0.5404 GB, free: 5.547 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002783/0.4533, allocations: 83.88 kB / 0.5405 GB, free: 5.465 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00031/0.4536, allocations: 112.2 kB / 0.5406 GB, free: 5.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005568/0.4542, allocations: 212.2 kB / 0.5408 GB, free: 5.117 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4542, allocations: 4 kB / 0.5408 GB, free: 5.113 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006714/0.4549, allocations: 237.4 kB / 0.541 GB, free: 4.875 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4549, allocations: 8 kB / 0.541 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.4549, allocations: 0 / 0.541 GB, free: 4.867 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4549, allocations: 4.125 kB / 0.541 GB, free: 4.863 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.4553, allocations: 55.95 kB / 0.5411 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.4553, allocations: 0 / 0.5411 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.4556, allocations: 15.98 kB / 0.5411 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.4556, allocations: 11.98 kB / 0.5411 GB, free: 4.781 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.4557, allocations: 121.7 kB / 0.5412 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.4558, allocations: 12.14 kB / 0.5412 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008089/0.4566, allocations: 285.8 kB / 0.5415 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4566, allocations: 4 kB / 0.5415 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4566, allocations: 0 / 0.5415 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4566, allocations: 0 / 0.5415 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.4579, allocations: 0.5458 MB / 0.5421 GB, free: 3.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.4579, allocations: 3.984 kB / 0.5421 GB, free: 3.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.4583, allocations: 47.84 kB / 0.5421 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4583, allocations: 0 / 0.5421 GB, free: 3.703 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.657e-05/0.4583, allocations: 11.92 kB / 0.5421 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4583, allocations: 0 / 0.5421 GB, free: 3.691 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.4583, allocations: 12 kB / 0.5421 GB, free: 3.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007178/0.459, allocations: 325.8 kB / 0.5424 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.459, allocations: 7.953 kB / 0.5424 GB, free: 3.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.4591, allocations: 12 kB / 0.5425 GB, free: 3.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.4594, allocations: 11.97 kB / 0.5425 GB, free: 3.309 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.4594, allocations: 23.86 kB / 0.5425 GB, free: 3.285 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.4594, allocations: 11.98 kB / 0.5425 GB, free: 3.273 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.014e-05/0.4595, allocations: 79.28 kB / 0.5426 GB, free: 3.195 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4595, allocations: 0 / 0.5426 GB, free: 3.195 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.4598, allocations: 51.94 kB / 0.5426 GB, free: 3.145 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.461, allocations: 0.878 MB / 0.5435 GB, free: 2.234 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006743/0.4617, allocations: 191.8 kB / 0.5437 GB, free: 2.047 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4617, allocations: 0 / 0.5437 GB, free: 2.047 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.462, allocations: 107.8 kB / 0.5438 GB, free: 1.941 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.4624, allocations: 36.27 kB / 0.5438 GB, free: 1.906 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.4634, allocations: 312.4 kB / 0.5441 GB, free: 1.551 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.4638, allocations: 0.6928 MB / 0.5448 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002875/0.464, allocations: 60.73 kB / 0.5448 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.4642, allocations: 43.41 kB / 0.5449 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4642, allocations: 0 / 0.5449 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03368/0.4979, allocations: 4.582 MB / 0.5494 GB, free: 12.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.28, allocations: 11.8 kB / 0.5494 GB, free: 12.08 MB / 478.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.IdealGasH2O.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: 13.797578365076333]