Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001314/0.001314, allocations: 116.6 kB / 18.49 MB, free: 4.59 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.001324/0.001324, allocations: 193 kB / 21.43 MB, free: 1.66 MB / 14.72 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 1.363/1.363, allocations: 225.6 MB / 249.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] 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.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 39.94 kB / 366.3 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.09803, allocations: 52.15 MB / 418.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3438/0.4418, allocations: 149.7 MB / 0.5548 GB, free: 456 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.4448, allocations: 2.534 MB / 0.5573 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.4449, allocations: 0 / 0.5573 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.445, allocations: 23.83 kB / 0.5573 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008213/0.4458, allocations: 320.8 kB / 0.5576 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.446, allocations: 63.73 kB / 0.5577 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.4461, allocations: 79.53 kB / 0.5577 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.4462, allocations: 4 kB / 0.5578 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/0.4462, allocations: 35.8 kB / 0.5578 GB, free: 13.39 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.287e-05/0.4463, allocations: 27.91 kB / 0.5578 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.4463, allocations: 0 / 0.5578 GB, free: 13.37 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.447, allocations: 359.5 kB / 0.5582 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.4471, allocations: 17.45 kB / 0.5582 GB, free: 13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.4471, allocations: 27.86 kB / 0.5582 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005004/0.4476, allocations: 299.6 kB / 0.5585 GB, free: 12.69 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4476, allocations: 4 kB / 0.5585 GB, free: 12.68 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4476, allocations: 4 kB / 0.5585 GB, free: 12.68 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4476, allocations: 0 / 0.5585 GB, free: 12.68 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.0009963/0.4486, allocations: 430.9 kB / 0.5589 GB, free: 12.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.4487, allocations: 12.03 kB / 0.5589 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.22e-05/0.4487, allocations: 4.188 kB / 0.5589 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.84e-05/0.4488, allocations: 38.75 kB / 0.559 GB, free: 12.15 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00653/0.4553, allocations: 456.7 kB / 0.5594 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.4555, allocations: 175.7 kB / 0.5596 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.4555, allocations: 4 kB / 0.5596 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.4556, allocations: 8 kB / 0.5596 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008315/0.4564, allocations: 297.3 kB / 0.5599 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4564, allocations: 0 / 0.5599 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.175e-05/0.4565, allocations: 4 kB / 0.5599 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4565, allocations: 3.094 kB / 0.5599 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008684/0.4574, allocations: 276.3 kB / 0.5601 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.4584, allocations: 449.2 kB / 0.5606 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4595, allocations: 186.4 kB / 0.5607 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.4597, allocations: 68.81 kB / 0.5608 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.4597, allocations: 8 kB / 0.5608 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.4598, allocations: 34.55 kB / 0.5608 GB, free: 10.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.4598, allocations: 3.938 kB / 0.5608 GB, free: 10.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001842/0.4616, allocations: 421.4 kB / 0.5612 GB, free: 9.688 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.4617, allocations: 55.41 kB / 0.5613 GB, free: 9.621 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.4618, allocations: 105.8 kB / 0.5614 GB, free: 9.508 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.4618, allocations: 25.7 kB / 0.5614 GB, free: 9.477 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.4619, allocations: 99.98 kB / 0.5615 GB, free: 9.375 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.462, allocations: 63.47 kB / 0.5616 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.872e-05/0.4621, allocations: 37.7 kB / 0.5616 GB, free: 9.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.4622, allocations: 322.8 kB / 0.5619 GB, free: 8.945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.4625, allocations: 79.94 kB / 0.562 GB, free: 8.867 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003172/0.4629, allocations: 116.2 kB / 0.5621 GB, free: 8.738 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006017/0.4635, allocations: 207 kB / 0.5623 GB, free: 8.523 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4635, allocations: 0 / 0.5623 GB, free: 8.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007235/0.4642, allocations: 245.3 kB / 0.5625 GB, free: 8.277 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4642, allocations: 11.98 kB / 0.5625 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4642, allocations: 0 / 0.5625 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4642, allocations: 4 kB / 0.5626 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.4646, allocations: 55.89 kB / 0.5626 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.4646, allocations: 0 / 0.5626 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.4649, allocations: 11.98 kB / 0.5626 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.4649, allocations: 16.94 kB / 0.5626 GB, free: 8.18 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.0001252/0.4651, allocations: 117.8 kB / 0.5627 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.08e-05/0.4651, allocations: 15.88 kB / 0.5628 GB, free: 8.039 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008927/0.466, allocations: 271.9 kB / 0.563 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.466, allocations: 0 / 0.563 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.466, allocations: 4.5 kB / 0.563 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.466, allocations: 3.938 kB / 0.563 GB, free: 7.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.4674, allocations: 0.5742 MB / 0.5636 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4674, allocations: 4.5 kB / 0.5636 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.4677, allocations: 51.95 kB / 0.5636 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4677, allocations: 0 / 0.5636 GB, free: 7.074 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.4678, allocations: 12.55 kB / 0.5637 GB, free: 7.062 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4678, allocations: 3.938 kB / 0.5637 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4678, allocations: 0 / 0.5637 GB, free: 7.059 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007323/0.4685, allocations: 329.5 kB / 0.564 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.4686, allocations: 85.06 kB / 0.5641 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.4686, allocations: 0.75 kB / 0.5641 GB, free: 6.613 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.4689, allocations: 19.92 kB / 0.5641 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.4689, allocations: 19.97 kB / 0.5641 GB, free: 6.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.469, allocations: 15.98 kB / 0.5641 GB, free: 6.559 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.674e-05/0.469, allocations: 75.28 kB / 0.5642 GB, free: 6.484 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.469, allocations: 4 kB / 0.5642 GB, free: 6.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003483/0.4694, allocations: 40 kB / 0.5642 GB, free: 6.441 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.001192/0.4705, allocations: 0.8976 MB / 0.5651 GB, free: 5.516 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006772/0.4712, allocations: 191.7 kB / 0.5653 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4712, allocations: 256 / 0.5653 GB, free: 5.328 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.4715, allocations: 99.81 kB / 0.5654 GB, free: 5.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/0.472, allocations: 36.42 kB / 0.5654 GB, free: 5.199 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.473, allocations: 320.9 kB / 0.5657 GB, free: 4.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4733, allocations: 0.6967 MB / 0.5664 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002579/0.4736, allocations: 56.75 kB / 0.5665 GB, free: 4.062 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.4738, allocations: 43.34 kB / 0.5665 GB, free: 4.02 MB / 462.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4738, allocations: 0 / 0.5665 GB, free: 4.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.4959, allocations: 4.379 MB / 0.5708 GB, free: 15.74 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.515, allocations: 4 kB / 0.5708 GB, free: 15.73 MB / 478.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.833598187018652]