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.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.001269/0.001269, allocations: 120 kB / 18.45 MB, free: 4.605 MB / 14.72 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.001285/0.001285, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.319/1.319, allocations: 207.6 MB / 231.8 MB, free: 4.219 MB / 174.1 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.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.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 51.92 kB / 342.2 MB, free: 10.19 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08727, allocations: 49.12 MB / 391.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3314/0.4186, allocations: 150.9 MB / 0.5295 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001848/0.4205, allocations: 1.529 MB / 0.531 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.4205, allocations: 4 kB / 0.531 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.4207, allocations: 25.25 kB / 0.531 GB, free: 9.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008272/0.4215, allocations: 329.2 kB / 0.5314 GB, free: 9.754 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.4217, allocations: 55.3 kB / 0.5314 GB, free: 9.715 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 9.623e-05/0.4218, allocations: 69.39 kB / 0.5315 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.828e-05/0.4218, allocations: 10.11 kB / 0.5315 GB, free: 9.672 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.4219, allocations: 34.64 kB / 0.5315 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.422, allocations: 28.67 kB / 0.5315 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.422, allocations: 2.75 kB / 0.5316 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006321/0.4226, allocations: 367.6 kB / 0.5319 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.4226, allocations: 11.97 kB / 0.5319 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.4227, allocations: 27.88 kB / 0.5319 GB, free: 9.387 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.4231, allocations: 289.5 kB / 0.5322 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4231, allocations: 0 / 0.5322 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4231, allocations: 0 / 0.5322 GB, free: 9.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.4231, allocations: 3.984 kB / 0.5322 GB, free: 9.102 MB / 414.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.0008397/0.424, allocations: 447.3 kB / 0.5326 GB, free: 8.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.424, allocations: 8.031 kB / 0.5327 GB, free: 8.609 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.4241, allocations: 42.73 kB / 0.5327 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005612/0.4297, allocations: 457.9 kB / 0.5331 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.4298, allocations: 168.3 kB / 0.5333 GB, free: 7.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.4298, allocations: 7.938 kB / 0.5333 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.895e-05/0.4299, allocations: 8 kB / 0.5333 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007418/0.4306, allocations: 301.2 kB / 0.5336 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.4306, allocations: 0 / 0.5336 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.4307, allocations: 0 / 0.5336 GB, free: 7.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.4307, allocations: 4 kB / 0.5336 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.4315, allocations: 283.7 kB / 0.5339 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009848/0.4325, allocations: 424.8 kB / 0.5343 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009617/0.4334, allocations: 194.4 kB / 0.5345 GB, free: 6.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.4336, allocations: 64.81 kB / 0.5345 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.4336, allocations: 11.98 kB / 0.5345 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.4337, allocations: 32.72 kB / 0.5346 GB, free: 6.531 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.4337, allocations: 3.938 kB / 0.5346 GB, free: 6.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001624/0.4353, allocations: 429 kB / 0.535 GB, free: 6.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4353, allocations: 55.41 kB / 0.535 GB, free: 6.035 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.4354, allocations: 97.86 kB / 0.5351 GB, free: 5.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.4354, allocations: 29.7 kB / 0.5352 GB, free: 5.895 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.4355, allocations: 104 kB / 0.5352 GB, free: 5.789 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.4355, allocations: 59.48 kB / 0.5353 GB, free: 5.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.853e-05/0.4356, allocations: 41.69 kB / 0.5353 GB, free: 5.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4358, allocations: 318.8 kB / 0.5356 GB, free: 5.363 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.436, allocations: 75.94 kB / 0.5357 GB, free: 5.289 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.4363, allocations: 117.1 kB / 0.5358 GB, free: 5.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005173/0.4368, allocations: 204.2 kB / 0.536 GB, free: 4.945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4368, allocations: 3.938 kB / 0.536 GB, free: 4.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006311/0.4374, allocations: 245.4 kB / 0.5363 GB, free: 4.695 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4375, allocations: 8 kB / 0.5363 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4375, allocations: 0 / 0.5363 GB, free: 4.688 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4375, allocations: 4 kB / 0.5363 GB, free: 4.684 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.4378, allocations: 51.89 kB / 0.5363 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.4378, allocations: 0 / 0.5363 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.4381, allocations: 18.61 kB / 0.5363 GB, free: 4.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.4381, allocations: 15.98 kB / 0.5364 GB, free: 4.602 MB / 414.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.0001204/0.4382, allocations: 125.7 kB / 0.5365 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.499e-05/0.4383, allocations: 11.89 kB / 0.5365 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007627/0.439, allocations: 278 kB / 0.5368 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.4391, allocations: 4 kB / 0.5368 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4391, allocations: 0 / 0.5368 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4391, allocations: 3.984 kB / 0.5368 GB, free: 4.172 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/0.4404, allocations: 0.5793 MB / 0.5373 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4404, allocations: 3.938 kB / 0.5373 GB, free: 3.527 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.4407, allocations: 47.97 kB / 0.5374 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.4407, allocations: 192 / 0.5374 GB, free: 3.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.4407, allocations: 11.98 kB / 0.5374 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4407, allocations: 0 / 0.5374 GB, free: 3.469 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.4407, allocations: 7.938 kB / 0.5374 GB, free: 3.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.4414, allocations: 330.4 kB / 0.5377 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.4415, allocations: 85.06 kB / 0.5378 GB, free: 3.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.731e-05/0.4415, allocations: 13.11 kB / 0.5378 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.4418, allocations: 7.984 kB / 0.5378 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.4418, allocations: 23.92 kB / 0.5378 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.4418, allocations: 8 kB / 0.5378 GB, free: 2.965 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.883e-05/0.4419, allocations: 83.27 kB / 0.5379 GB, free: 2.883 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4419, allocations: 0 / 0.5379 GB, free: 2.883 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003465/0.4422, allocations: 47.94 kB / 0.538 GB, free: 2.836 MB / 414.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.001102/0.4433, allocations: 0.8779 MB / 0.5388 GB, free: 1.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006149/0.4439, allocations: 191.7 kB / 0.539 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.4439, allocations: 4.25 kB / 0.539 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.4442, allocations: 99.86 kB / 0.5391 GB, free: 1.637 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.4446, allocations: 39.23 kB / 0.5391 GB, free: 1.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009777/0.4456, allocations: 328.4 kB / 0.5395 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4459, allocations: 0.6928 MB / 0.5401 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.4462, allocations: 52.75 kB / 0.5402 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.4464, allocations: 39.41 kB / 0.5402 GB, free: 440 kB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4464, allocations: 0 / 0.5402 GB, free: 440 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02545/0.4718, allocations: 4.353 MB / 0.5445 GB, free: 12.03 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.725/8.197, allocations: 7.984 kB / 0.5445 GB, free: 12.02 MB / 430.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.366304032038897]