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.001591/0.001591, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001725/0.001725, allocations: 188.2 kB / 23.72 MB, free: 4.684 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.398/1.398, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 43.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2289, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06276/0.2917, allocations: 51.04 MB / 473.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.2986, allocations: 5.238 MB / 478.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/0.2989, allocations: 7.938 kB / 478.9 MB, free: 6.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008308/0.2997, allocations: 258.6 kB / 479.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008084/0.3005, allocations: 369.9 kB / 479.5 MB, free: 5.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01783/0.3184, allocations: 7.195 MB / 486.7 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.3199, allocations: 1.111 MB / 487.8 MB, free: 13.19 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.3202, allocations: 101.8 kB / 487.9 MB, free: 13.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007375/0.3276, allocations: 3.611 MB / 491.6 MB, free: 9.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008707/0.3284, allocations: 434.5 kB / 492 MB, free: 9.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.3286, allocations: 60 kB / 492 MB, free: 8.984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01989/0.3485, allocations: 10.14 MB / 0.4904 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004083/0.3489, allocations: 231.4 kB / 0.4906 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005575/0.3495, allocations: 310.9 kB / 0.4909 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.3617, allocations: 5.515 MB / 0.4963 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3617, allocations: 0 / 0.4963 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3617, allocations: 0 / 0.4963 GB, free: 8.773 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.347e-05/0.3617, allocations: 0 / 0.4963 GB, free: 8.773 MB / 414.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.003624/0.3653, allocations: 1.323 MB / 0.4976 GB, free: 7.414 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3654, allocations: 12.03 kB / 0.4976 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.3655, allocations: 86.52 kB / 0.4977 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003747/0.3659, allocations: 63.64 kB / 0.4978 GB, free: 7.246 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000607/0.3665, allocations: 313.2 kB / 0.4981 GB, free: 6.914 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.3665, allocations: 29 kB / 0.4981 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/0.3666, allocations: 48 kB / 0.4981 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.368, allocations: 0.5843 MB / 0.4987 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.368, allocations: 0 / 0.4987 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.273e-05/0.3681, allocations: 20 kB / 0.4987 GB, free: 6.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3681, allocations: 12 kB / 0.4987 GB, free: 6.219 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.3696, allocations: 0.7495 MB / 0.4995 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.3827, allocations: 4.161 MB / 0.5035 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.384, allocations: 0.5074 MB / 0.504 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.3845, allocations: 243.9 kB / 0.5043 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01059/0.395, allocations: 2.573 MB / 0.5068 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/0.3951, allocations: 39 kB / 0.5068 GB, free: 13.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.655e-06/0.3951, allocations: 0 / 0.5068 GB, free: 13.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.006094/0.4012, allocations: 1.909 MB / 0.5087 GB, free: 11.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.4012, allocations: 55.91 kB / 0.5087 GB, free: 11.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.4017, allocations: 316.2 kB / 0.509 GB, free: 11.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.14e-05/0.4017, allocations: 37.7 kB / 0.5091 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4019, allocations: 212.7 kB / 0.5093 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001784/0.4021, allocations: 198.3 kB / 0.5094 GB, free: 11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.4023, allocations: 114.3 kB / 0.5096 GB, free: 10.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4025, allocations: 346.8 kB / 0.5099 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000422/0.4029, allocations: 237.2 kB / 0.5101 GB, free: 10.31 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/0.4036, allocations: 348.2 kB / 0.5104 GB, free: 9.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.405, allocations: 0.5995 MB / 0.511 GB, free: 9.301 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.405, allocations: 3.938 kB / 0.511 GB, free: 9.297 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001945/0.4069, allocations: 0.756 MB / 0.5118 GB, free: 8.523 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.4069, allocations: 7.938 kB / 0.5118 GB, free: 8.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4069, allocations: 4 kB / 0.5118 GB, free: 8.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005162/0.4075, allocations: 102.5 kB / 0.5119 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/0.408, allocations: 123.8 kB / 0.512 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002971/0.4109, allocations: 3.273 MB / 0.5152 GB, free: 4.754 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.4113, allocations: 15.94 kB / 0.5152 GB, free: 4.738 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.4114, allocations: 31.98 kB / 0.5152 GB, free: 4.707 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.0003545/0.4118, allocations: 189.7 kB / 0.5154 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.4121, allocations: 55.73 kB / 0.5155 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001764/0.4139, allocations: 0.8191 MB / 0.5163 GB, free: 3.605 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.4139, allocations: 4 kB / 0.5163 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.4139, allocations: 0 / 0.5163 GB, free: 3.602 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001242/0.4151, allocations: 0.7635 MB / 0.517 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/0.4177, allocations: 1.265 MB / 0.5183 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.4177, allocations: 4.031 kB / 0.5183 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.4182, allocations: 95.83 kB / 0.5184 GB, free: 1.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000945/0.4191, allocations: 160.5 kB / 0.5185 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.4192, allocations: 19.98 kB / 0.5185 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005002/0.4197, allocations: 0.6368 MB / 0.5192 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4197, allocations: 4.031 kB / 0.5192 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.4215, allocations: 0.9132 MB / 0.52 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.4217, allocations: 43.73 kB / 0.5201 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.4218, allocations: 12 kB / 0.5201 GB, free: 15.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.4222, allocations: 23.92 kB / 0.5201 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.4222, allocations: 36.36 kB / 0.5202 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.026e-05/0.4223, allocations: 27.98 kB / 0.5202 GB, free: 15.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003116/0.4226, allocations: 259 kB / 0.5204 GB, free: 15.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4226, allocations: 4 kB / 0.5204 GB, free: 15.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003566/0.4262, allocations: 1.325 MB / 0.5217 GB, free: 13.84 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.00789/0.4341, allocations: 3.038 MB / 0.5247 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.4358, allocations: 0.7802 MB / 0.5255 GB, free: 9.961 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.4358, allocations: 4 kB / 0.5255 GB, free: 9.957 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006071/0.4364, allocations: 279.2 kB / 0.5257 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.4378, allocations: 273.6 kB / 0.526 GB, free: 9.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009741/0.4476, allocations: 5.329 MB / 0.5312 GB, free: 3.906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.4481, allocations: 0.8404 MB / 0.532 GB, free: 3.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005626/0.4487, allocations: 136.3 kB / 0.5321 GB, free: 2.902 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002905/0.449, allocations: 155.4 kB / 0.5323 GB, free: 2.75 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.449, allocations: 3.938 kB / 0.5323 GB, free: 2.746 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2721/0.7211, allocations: 50.93 MB / 0.582 GB, free: 73.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/15.83, allocations: 7.859 kB / 0.582 GB, free: 73.52 MB / 446.1 MB " [Timeout remaining time 644] (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: 30.498799070948735]