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.006051/0.006051, allocations: 100.5 kB / 21.96 MB, free: 5.207 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.001646/0.001646, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.282/1.282, allocations: 207.7 MB / 236.1 MB, free: 9.801 MB / 190.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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",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.001633/0.001633, allocations: 50.58 kB / 348 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2278, allocations: 49.16 MB / 397.1 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.1481/0.3759, allocations: 129.3 MB / 0.5141 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.3776, allocations: 1.355 MB / 0.5154 GB, free: 20 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.239e-05/0.3777, allocations: 4 kB / 0.5154 GB, free: 16 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.3778, allocations: 28.36 kB / 0.5154 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008422/0.3787, allocations: 328.1 kB / 0.5157 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001582/0.3788, allocations: 59.73 kB / 0.5158 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.798e-05/0.3789, allocations: 71.59 kB / 0.5159 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.379, allocations: 8 kB / 0.5159 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.211e-05/0.3791, allocations: 31.86 kB / 0.5159 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.478e-05/0.3791, allocations: 31.84 kB / 0.5159 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.3791, allocations: 7.938 kB / 0.5159 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006086/0.3798, allocations: 347.5 kB / 0.5163 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.3798, allocations: 3.984 kB / 0.5163 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.3798, allocations: 35.8 kB / 0.5163 GB, free: 15.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004596/0.3803, allocations: 294.5 kB / 0.5166 GB, free: 14.8 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.3803, allocations: 7.938 kB / 0.5166 GB, free: 14.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3803, allocations: 0 / 0.5166 GB, free: 14.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.3803, allocations: 0 / 0.5166 GB, free: 14.79 MB / 446.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.0008225/0.3811, allocations: 361.8 kB / 0.5169 GB, free: 14.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3811, allocations: 11.98 kB / 0.517 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.462e-05/0.3812, allocations: 4.188 kB / 0.517 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.3812, allocations: 38.73 kB / 0.517 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005647/0.3868, allocations: 460.2 kB / 0.5174 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.3869, allocations: 114 kB / 0.5175 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.387, allocations: 8 kB / 0.5175 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.848e-05/0.387, allocations: 4 kB / 0.5176 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.3878, allocations: 301.3 kB / 0.5178 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3878, allocations: 0 / 0.5178 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.3879, allocations: 4 kB / 0.5178 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3879, allocations: 3.984 kB / 0.5178 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008025/0.3887, allocations: 283.8 kB / 0.5181 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009553/0.3896, allocations: 375.8 kB / 0.5185 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009907/0.3906, allocations: 198.3 kB / 0.5187 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001939/0.3908, allocations: 64.83 kB / 0.5187 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.3908, allocations: 7.984 kB / 0.5187 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.3909, allocations: 30.81 kB / 0.5188 GB, free: 12.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.3909, allocations: 0 / 0.5188 GB, free: 12.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001699/0.3926, allocations: 429.5 kB / 0.5192 GB, free: 12.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3926, allocations: 55.41 kB / 0.5192 GB, free: 11.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.267e-05/0.3927, allocations: 101.8 kB / 0.5193 GB, free: 11.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.3927, allocations: 29.7 kB / 0.5194 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.622e-05/0.3928, allocations: 99.97 kB / 0.5194 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.3928, allocations: 63.47 kB / 0.5195 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.254e-05/0.3929, allocations: 37.7 kB / 0.5195 GB, free: 11.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.393, allocations: 322.8 kB / 0.5199 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.3933, allocations: 75.94 kB / 0.5199 GB, free: 11.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.3936, allocations: 124.1 kB / 0.52 GB, free: 11.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000541/0.3941, allocations: 200.2 kB / 0.5202 GB, free: 10.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3941, allocations: 4 kB / 0.5202 GB, free: 10.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000654/0.3948, allocations: 245.4 kB / 0.5205 GB, free: 10.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3948, allocations: 8.125 kB / 0.5205 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3948, allocations: 4 kB / 0.5205 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3948, allocations: 0 / 0.5205 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.3952, allocations: 47.95 kB / 0.5205 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3952, allocations: 4 kB / 0.5205 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.3955, allocations: 15.98 kB / 0.5205 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.359e-05/0.3955, allocations: 8 kB / 0.5206 GB, free: 10.51 MB / 446.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.000119/0.3956, allocations: 129.7 kB / 0.5207 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.3957, allocations: 19.88 kB / 0.5207 GB, free: 10.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007781/0.3964, allocations: 278.3 kB / 0.521 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3964, allocations: 0 / 0.521 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3964, allocations: 0 / 0.521 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3964, allocations: 0 / 0.521 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.3977, allocations: 0.5315 MB / 0.5215 GB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.3977, allocations: 4 kB / 0.5215 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003371/0.398, allocations: 43.89 kB / 0.5215 GB, free: 9.445 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.398, allocations: 4 kB / 0.5215 GB, free: 9.441 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.398, allocations: 11.98 kB / 0.5215 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.398, allocations: 3.938 kB / 0.5215 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.398, allocations: 4 kB / 0.5216 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.3987, allocations: 329.6 kB / 0.5219 GB, free: 9.078 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.3987, allocations: 7.953 kB / 0.5219 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.3988, allocations: 8 kB / 0.5219 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.399, allocations: 15.92 kB / 0.5219 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.3991, allocations: 23.91 kB / 0.5219 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.3991, allocations: 11.98 kB / 0.5219 GB, free: 9.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.606e-05/0.3991, allocations: 83.28 kB / 0.522 GB, free: 8.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3991, allocations: 0 / 0.522 GB, free: 8.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003246/0.3995, allocations: 43.94 kB / 0.5221 GB, free: 8.887 MB / 446.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.001066/0.4005, allocations: 0.8779 MB / 0.5229 GB, free: 7.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.4012, allocations: 195.9 kB / 0.5231 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4012, allocations: 0 / 0.5231 GB, free: 7.785 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002814/0.4014, allocations: 99.94 kB / 0.5232 GB, free: 7.688 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.4019, allocations: 40.03 kB / 0.5232 GB, free: 7.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009887/0.4029, allocations: 320.4 kB / 0.5235 GB, free: 7.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.717e-05/0.403, allocations: 79.7 kB / 0.5236 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002696/0.4032, allocations: 56.75 kB / 0.5237 GB, free: 7.129 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.4034, allocations: 39.41 kB / 0.5237 GB, free: 7.09 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4034, allocations: 4 kB / 0.5237 GB, free: 7.086 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.4282, allocations: 4.847 MB / 0.5284 GB, free: 2.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.25, allocations: 11.95 kB / 0.5285 GB, free: 2.168 MB / 446.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.532464592950419]