Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001767/0.001767, allocations: 103.6 kB / 21.18 MB, free: 332 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.002196/0.002196, allocations: 212 kB / 24.47 MB, free: 3.547 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.34/1.34, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.001841/0.001841, allocations: 66.58 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2468, allocations: 49.15 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07375/0.3206, allocations: 59.01 MB / 455.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007679/0.3283, allocations: 4.967 MB / 460.3 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003524/0.3286, allocations: 11.94 kB / 460.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009929/0.3296, allocations: 334 kB / 460.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009289/0.3305, allocations: 0.5206 MB / 461.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0207/0.3512, allocations: 7.122 MB / 468.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002087/0.3533, allocations: 1.567 MB / 469.9 MB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003087/0.3536, allocations: 141.4 kB / 470 MB, free: 9.262 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.3547, allocations: 0.6425 MB / 470.7 MB, free: 8.617 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008571/0.3555, allocations: 0.5721 MB / 471.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.3557, allocations: 84 kB / 471.3 MB, free: 7.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01857/0.3743, allocations: 9.4 MB / 480.7 MB, free: 14.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004849/0.3747, allocations: 331.2 kB / 481 MB, free: 14.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.3753, allocations: 378.7 kB / 481.4 MB, free: 13.85 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.3908, allocations: 5.846 MB / 487.2 MB, free: 7.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.3908, allocations: 4 kB / 487.3 MB, free: 7.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3908, allocations: 0 / 487.3 MB, free: 7.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.3908, allocations: 0 / 487.3 MB, free: 7.988 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003929/0.3947, allocations: 1.51 MB / 488.8 MB, free: 6.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3948, allocations: 15.92 kB / 488.8 MB, free: 6.426 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.3949, allocations: 114.5 kB / 488.9 MB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.3954, allocations: 87.5 kB / 489 MB, free: 6.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/0.3962, allocations: 399.1 kB / 489.4 MB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.3962, allocations: 45.31 kB / 489.4 MB, free: 5.758 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.3963, allocations: 64 kB / 489.5 MB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/0.3984, allocations: 1.212 MB / 490.7 MB, free: 4.375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.3984, allocations: 4 kB / 490.7 MB, free: 4.371 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.392e-05/0.3985, allocations: 31.94 kB / 490.7 MB, free: 4.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.3985, allocations: 16 kB / 490.7 MB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001966/0.4005, allocations: 1.024 MB / 491.8 MB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.4146, allocations: 4.14 MB / 495.9 MB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.4164, allocations: 0.7182 MB / 496.6 MB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.417, allocations: 383 kB / 497 MB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01119/0.4282, allocations: 2.616 MB / 499.6 MB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.448e-05/0.4283, allocations: 47.58 kB / 499.7 MB, free: 11.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.577e-06/0.4283, allocations: 0 / 499.7 MB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.01082/0.4391, allocations: 3.182 MB / 0.4911 GB, free: 8.121 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.4392, allocations: 60.41 kB / 0.4911 GB, free: 8.051 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.4397, allocations: 364.5 kB / 0.4915 GB, free: 7.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.4398, allocations: 41.7 kB / 0.4915 GB, free: 7.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.44, allocations: 241.2 kB / 0.4917 GB, free: 7.398 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003106/0.4403, allocations: 317.2 kB / 0.492 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.4406, allocations: 166.6 kB / 0.4922 GB, free: 6.914 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.4408, allocations: 366.7 kB / 0.4925 GB, free: 6.547 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/0.4414, allocations: 369.8 kB / 0.4929 GB, free: 6.188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009894/0.4424, allocations: 496.2 kB / 0.4934 GB, free: 5.672 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.4442, allocations: 0.8982 MB / 0.4942 GB, free: 4.738 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4442, allocations: 3.938 kB / 0.4942 GB, free: 4.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002726/0.447, allocations: 1.121 MB / 0.4953 GB, free: 3.594 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.447, allocations: 8 kB / 0.4953 GB, free: 3.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.447, allocations: 4 kB / 0.4953 GB, free: 3.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008284/0.4478, allocations: 167.5 kB / 0.4955 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007575/0.4486, allocations: 191.8 kB / 0.4957 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.452, allocations: 3.898 MB / 0.4995 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.4524, allocations: 20.03 kB / 0.4995 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.4525, allocations: 43.98 kB / 0.4996 GB, free: 14.98 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004034/0.4529, allocations: 233.4 kB / 0.4998 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/0.4533, allocations: 63.67 kB / 0.4998 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002677/0.456, allocations: 1.289 MB / 0.5011 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.456, allocations: 11.98 kB / 0.5011 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.456, allocations: 0 / 0.5011 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002085/0.4581, allocations: 1.316 MB / 0.5024 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.4617, allocations: 1.8 MB / 0.5042 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.4617, allocations: 7.938 kB / 0.5042 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/0.4624, allocations: 159.8 kB / 0.5043 GB, free: 9.879 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/0.4643, allocations: 309.3 kB / 0.5046 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/0.4644, allocations: 27.98 kB / 0.5046 GB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009899/0.4653, allocations: 1.289 MB / 0.5059 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4653, allocations: 0 / 0.5059 GB, free: 8.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002944/0.4683, allocations: 1.422 MB / 0.5073 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.4685, allocations: 51.59 kB / 0.5073 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.4686, allocations: 24.06 kB / 0.5074 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/0.4692, allocations: 36.16 kB / 0.5074 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.4693, allocations: 52.89 kB / 0.5074 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.4694, allocations: 43.97 kB / 0.5075 GB, free: 6.551 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003829/0.4698, allocations: 279 kB / 0.5077 GB, free: 6.277 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4698, allocations: 0 / 0.5077 GB, free: 6.277 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004216/0.474, allocations: 1.415 MB / 0.5091 GB, free: 4.859 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009844/0.4838, allocations: 3.614 MB / 0.5127 GB, free: 1.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.4865, allocations: 1.109 MB / 0.5137 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.4865, allocations: 0 / 0.5137 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00114/0.4877, allocations: 480 kB / 0.5142 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00214/0.4898, allocations: 386 kB / 0.5146 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01389/0.5037, allocations: 7.072 MB / 0.5215 GB, free: 7.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.5041, allocations: 318 kB / 0.5218 GB, free: 7.613 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008614/0.505, allocations: 209.2 kB / 0.522 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004192/0.5054, allocations: 227.3 kB / 0.5222 GB, free: 7.184 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5054, allocations: 0 / 0.5222 GB, free: 7.184 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3024/0.8078, allocations: 60.51 MB / 0.5813 GB, free: 147.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.25, allocations: 0 / 0.5813 GB, free: 147.5 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 42.80810075998306]