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.001917/0.001917, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001498/0.001498, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.306/1.306, allocations: 207.7 MB / 235.3 MB, free: 9.797 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="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.001743/0.001743, allocations: 51.92 kB / 347.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.247, allocations: 49.15 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.16/0.407, allocations: 129.4 MB / 0.5134 GB, free: 1.312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.4088, allocations: 1.378 MB / 0.5147 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.4088, allocations: 7.938 kB / 0.5147 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.409, allocations: 19.91 kB / 0.5148 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008784/0.4098, allocations: 318 kB / 0.5151 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001668/0.41, allocations: 59.73 kB / 0.5151 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.4101, allocations: 83.59 kB / 0.5152 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.4102, allocations: 0 / 0.5152 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.4103, allocations: 39.78 kB / 0.5152 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.155e-05/0.4103, allocations: 27.86 kB / 0.5153 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.4103, allocations: 4 kB / 0.5153 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006327/0.411, allocations: 343.5 kB / 0.5156 GB, free: 15.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.411, allocations: 4 kB / 0.5156 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.411, allocations: 27.86 kB / 0.5156 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.4115, allocations: 297.2 kB / 0.5159 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.4115, allocations: 0 / 0.5159 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4115, allocations: 4 kB / 0.5159 GB, free: 14.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4115, allocations: 0 / 0.5159 GB, free: 14.72 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.0008333/0.4123, allocations: 357.8 kB / 0.5162 GB, free: 14.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.4124, allocations: 11.98 kB / 0.5163 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.4124, allocations: 42.73 kB / 0.5163 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006026/0.4184, allocations: 460.1 kB / 0.5167 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.378e-05/0.4185, allocations: 118.2 kB / 0.5169 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.4185, allocations: 0 / 0.5169 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.749e-05/0.4186, allocations: 12 kB / 0.5169 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.4194, allocations: 297.3 kB / 0.5171 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.4194, allocations: 0 / 0.5171 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.62e-05/0.4194, allocations: 8 kB / 0.5172 GB, free: 13.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.4195, allocations: 4 kB / 0.5172 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.4202, allocations: 271.7 kB / 0.5174 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009989/0.4212, allocations: 387.8 kB / 0.5178 GB, free: 12.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.4223, allocations: 190.4 kB / 0.518 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.4225, allocations: 73.06 kB / 0.518 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.4225, allocations: 8 kB / 0.518 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.4225, allocations: 38.48 kB / 0.5181 GB, free: 12.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.4225, allocations: 0 / 0.5181 GB, free: 12.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=17): time 0.001765/0.4243, allocations: 421.4 kB / 0.5185 GB, free: 11.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4243, allocations: 55.41 kB / 0.5185 GB, free: 11.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.788e-05/0.4244, allocations: 101.8 kB / 0.5186 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.57e-05/0.4245, allocations: 33.7 kB / 0.5187 GB, free: 11.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.4245, allocations: 91.98 kB / 0.5188 GB, free: 11.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.249e-05/0.4246, allocations: 63.47 kB / 0.5188 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.4247, allocations: 45.7 kB / 0.5189 GB, free: 11.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.4248, allocations: 314.8 kB / 0.5192 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.4251, allocations: 79.94 kB / 0.5192 GB, free: 11.12 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.4254, allocations: 112.2 kB / 0.5193 GB, free: 11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.426, allocations: 208.2 kB / 0.5195 GB, free: 10.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.426, allocations: 0 / 0.5195 GB, free: 10.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006868/0.4267, allocations: 241.4 kB / 0.5198 GB, free: 10.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.4267, allocations: 11.98 kB / 0.5198 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.4267, allocations: 0 / 0.5198 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4267, allocations: 0 / 0.5198 GB, free: 10.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.4271, allocations: 55.89 kB / 0.5198 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4271, allocations: 4 kB / 0.5198 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.4274, allocations: 16.11 kB / 0.5199 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/0.4274, allocations: 12 kB / 0.5199 GB, free: 10.44 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.0001218/0.4275, allocations: 117.8 kB / 0.52 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.4276, allocations: 19.81 kB / 0.52 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008091/0.4284, allocations: 274.4 kB / 0.5203 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.4284, allocations: 4 kB / 0.5203 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4284, allocations: 0 / 0.5203 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4284, allocations: 0 / 0.5203 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.4297, allocations: 0.5354 MB / 0.5208 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4297, allocations: 0 / 0.5208 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.4301, allocations: 59.89 kB / 0.5208 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4301, allocations: 0 / 0.5208 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.4301, allocations: 7.984 kB / 0.5209 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.4301, allocations: 4 kB / 0.5209 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4301, allocations: 7.938 kB / 0.5209 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.4308, allocations: 333.5 kB / 0.5212 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.554e-05/0.4308, allocations: 11.95 kB / 0.5212 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.4309, allocations: 4 kB / 0.5212 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.4311, allocations: 11.98 kB / 0.5212 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.4312, allocations: 19.91 kB / 0.5212 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.4312, allocations: 8 kB / 0.5212 GB, free: 8.953 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.665e-05/0.4313, allocations: 83.27 kB / 0.5213 GB, free: 8.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4313, allocations: 0 / 0.5213 GB, free: 8.871 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.4316, allocations: 47.94 kB / 0.5214 GB, free: 8.824 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.001131/0.4327, allocations: 0.8821 MB / 0.5222 GB, free: 7.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.4334, allocations: 187.8 kB / 0.5224 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/0.4334, allocations: 4 kB / 0.5224 GB, free: 7.723 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.4337, allocations: 108.3 kB / 0.5225 GB, free: 7.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.4342, allocations: 35.89 kB / 0.5225 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.4352, allocations: 320.4 kB / 0.5228 GB, free: 7.219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.991e-05/0.4352, allocations: 79.7 kB / 0.5229 GB, free: 7.121 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002829/0.4355, allocations: 52.75 kB / 0.523 GB, free: 7.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.4357, allocations: 43.41 kB / 0.523 GB, free: 7.027 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4357, allocations: 0 / 0.523 GB, free: 7.027 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03243/0.4681, allocations: 5.137 MB / 0.528 GB, free: 1.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.15, allocations: 7.875 kB / 0.528 GB, free: 1.812 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.335677016992122]