Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001311/0.001311, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001381/0.001381, allocations: 197 kB / 21.43 MB, free: 1.609 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.348/1.348, allocations: 225.6 MB / 249.8 MB, free: 3.598 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.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 47.92 kB / 366.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09651/0.09811, allocations: 52.14 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2307/0.3289, allocations: 50.75 MB / 469.2 MB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005085/0.3339, allocations: 5.216 MB / 474.5 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.3343, allocations: 8.469 kB / 474.5 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.3351, allocations: 253.6 kB / 474.7 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007631/0.3358, allocations: 372.1 kB / 475.1 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01714/0.353, allocations: 7.131 MB / 482.2 MB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.3547, allocations: 1.091 MB / 483.3 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.355, allocations: 105.5 kB / 483.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006629/0.3616, allocations: 3.626 MB / 487 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007938/0.3624, allocations: 427.9 kB / 487.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000149/0.3625, allocations: 58.12 kB / 487.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01842/0.381, allocations: 10.08 MB / 497.6 MB, free: 5.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003607/0.3813, allocations: 235 kB / 497.8 MB, free: 5.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.3818, allocations: 306 kB / 498.1 MB, free: 5.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01161/0.3934, allocations: 5.513 MB / 0.4918 GB, free: 324 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3934, allocations: 0 / 0.4918 GB, free: 324 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3934, allocations: 0 / 0.4918 GB, free: 324 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3935, allocations: 0 / 0.4918 GB, free: 324 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003508/0.397, allocations: 1.402 MB / 0.4932 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.397, allocations: 12.03 kB / 0.4932 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.864e-05/0.397, allocations: 13.5 kB / 0.4932 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.3971, allocations: 86.47 kB / 0.4933 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003255/0.3975, allocations: 59.7 kB / 0.4934 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.398, allocations: 379 kB / 0.4937 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.398, allocations: 33.56 kB / 0.4938 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.155e-05/0.3981, allocations: 44 kB / 0.4938 GB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.3994, allocations: 0.5804 MB / 0.4944 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3994, allocations: 4 kB / 0.4944 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.3995, allocations: 16 kB / 0.4944 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.3995, allocations: 12 kB / 0.4944 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.4009, allocations: 0.7495 MB / 0.4951 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01692/0.4179, allocations: 11.97 MB / 0.5068 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.4192, allocations: 0.5133 MB / 0.5073 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.4195, allocations: 238.1 kB / 0.5075 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0152/0.4347, allocations: 11.9 MB / 0.5192 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/0.4348, allocations: 46.98 kB / 0.5192 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.505e-06/0.4348, allocations: 0 / 0.5192 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005858/0.4406, allocations: 2.117 MB / 0.5213 GB, free: 13.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4407, allocations: 59.91 kB / 0.5213 GB, free: 13.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.4411, allocations: 326.9 kB / 0.5216 GB, free: 13.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.4411, allocations: 37.7 kB / 0.5217 GB, free: 13.13 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.4413, allocations: 204.7 kB / 0.5219 GB, free: 12.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.4415, allocations: 198.3 kB / 0.5221 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.4416, allocations: 114.2 kB / 0.5222 GB, free: 12.61 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.4418, allocations: 350.7 kB / 0.5225 GB, free: 12.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.4422, allocations: 241 kB / 0.5227 GB, free: 12.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/0.4429, allocations: 340.2 kB / 0.5231 GB, free: 11.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/0.4441, allocations: 0.5995 MB / 0.5236 GB, free: 11.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4441, allocations: 0 / 0.5236 GB, free: 11.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001872/0.446, allocations: 0.7558 MB / 0.5244 GB, free: 10.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.446, allocations: 4 kB / 0.5244 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.446, allocations: 4 kB / 0.5244 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004942/0.4465, allocations: 110.7 kB / 0.5245 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004988/0.447, allocations: 131.8 kB / 0.5246 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002879/0.4499, allocations: 3.471 MB / 0.528 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.4502, allocations: 12 kB / 0.528 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.4502, allocations: 35.98 kB / 0.5281 GB, free: 6.184 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002887/0.4505, allocations: 194.4 kB / 0.5282 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002975/0.4508, allocations: 47.77 kB / 0.5283 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/0.4524, allocations: 0.8151 MB / 0.5291 GB, free: 5.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.4524, allocations: 12 kB / 0.5291 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.4524, allocations: 0 / 0.5291 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/0.4536, allocations: 0.7596 MB / 0.5298 GB, free: 4.246 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.4557, allocations: 1.301 MB / 0.5311 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4558, allocations: 4 kB / 0.5311 GB, free: 2.879 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.4562, allocations: 95.89 kB / 0.5312 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009159/0.4571, allocations: 152.7 kB / 0.5313 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.913e-05/0.4572, allocations: 15.98 kB / 0.5314 GB, free: 2.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004671/0.4576, allocations: 0.6445 MB / 0.532 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4576, allocations: 8.031 kB / 0.532 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.4593, allocations: 0.9056 MB / 0.5329 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.4594, allocations: 116.9 kB / 0.533 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.4595, allocations: 12 kB / 0.533 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003809/0.4599, allocations: 28.83 kB / 0.533 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.46, allocations: 36.33 kB / 0.5331 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/0.46, allocations: 27.97 kB / 0.5331 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.4603, allocations: 253.9 kB / 0.5333 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4603, allocations: 0 / 0.5333 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003473/0.4638, allocations: 1.333 MB / 0.5346 GB, free: 15.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007353/0.4711, allocations: 3.052 MB / 0.5376 GB, free: 12.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001612/0.4728, allocations: 0.7724 MB / 0.5384 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4728, allocations: 0.5625 kB / 0.5384 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.4733, allocations: 291.1 kB / 0.5387 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.4748, allocations: 269.3 kB / 0.5389 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009066/0.4838, allocations: 5.329 MB / 0.5441 GB, free: 5.266 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.4843, allocations: 0.8365 MB / 0.5449 GB, free: 4.398 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004762/0.4848, allocations: 140.2 kB / 0.5451 GB, free: 4.258 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.4851, allocations: 159.4 kB / 0.5452 GB, free: 4.102 MB / 446.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4851, allocations: 4 kB / 0.5452 GB, free: 4.098 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09334/0.5784, allocations: 50.54 MB / 0.5946 GB, free: 1.738 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.01/14.59, allocations: 15.86 kB / 0.5946 GB, free: 1.723 MB / 494.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 39.67452374397544]