Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001626/0.001626, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002011/0.002011, allocations: 208.9 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 43.94 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2478, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06234/0.3102, allocations: 45.52 MB / 476.6 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006849/0.317, allocations: 4.701 MB / 481.3 MB, free: 4.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002225/0.3173, allocations: 7.938 kB / 481.3 MB, free: 4.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.318, allocations: 238.6 kB / 481.6 MB, free: 3.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007218/0.3187, allocations: 373.9 kB / 481.9 MB, free: 3.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01966/0.3384, allocations: 7.123 MB / 489 MB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.34, allocations: 1.103 MB / 490.1 MB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.3402, allocations: 93.83 kB / 490.2 MB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006937/0.3471, allocations: 3.603 MB / 493.8 MB, free: 7.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007396/0.3479, allocations: 406.5 kB / 494.2 MB, free: 7.293 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001032/0.348, allocations: 59.98 kB / 494.3 MB, free: 7.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01714/0.3651, allocations: 9.324 MB / 0.4918 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003448/0.3654, allocations: 235.4 kB / 0.492 GB, free: 13.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.3659, allocations: 267.1 kB / 0.4923 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.3784, allocations: 5.444 MB / 0.4976 GB, free: 7.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.3784, allocations: 0 / 0.4976 GB, free: 7.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3784, allocations: 0 / 0.4976 GB, free: 7.949 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3784, allocations: 0 / 0.4976 GB, free: 7.949 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.003594/0.382, allocations: 1.335 MB / 0.4989 GB, free: 6.578 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.382, allocations: 8.031 kB / 0.4989 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.3821, allocations: 86.52 kB / 0.499 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000354/0.3825, allocations: 59.72 kB / 0.4991 GB, free: 6.418 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.3831, allocations: 300.4 kB / 0.4993 GB, free: 6.098 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.3831, allocations: 37 kB / 0.4994 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.3832, allocations: 40 kB / 0.4994 GB, free: 6.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.3847, allocations: 0.8971 MB / 0.5003 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.3847, allocations: 0 / 0.5003 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/0.3847, allocations: 20 kB / 0.5003 GB, free: 5.027 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3848, allocations: 12 kB / 0.5003 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.3862, allocations: 0.7378 MB / 0.501 GB, free: 4.273 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01256/0.3987, allocations: 3.669 MB / 0.5046 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.4, allocations: 0.4998 MB / 0.5051 GB, free: 52 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/0.4004, allocations: 238.5 kB / 0.5053 GB, free: 15.81 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01045/0.4109, allocations: 2.557 MB / 0.5078 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.4109, allocations: 43 kB / 0.5079 GB, free: 13.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.134e-06/0.4109, allocations: 4 kB / 0.5079 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.00572/0.4166, allocations: 1.901 MB / 0.5097 GB, free: 11.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.4167, allocations: 55.91 kB / 0.5098 GB, free: 11.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000408/0.4171, allocations: 332.1 kB / 0.5101 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.624e-05/0.4171, allocations: 37.7 kB / 0.5102 GB, free: 10.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.4173, allocations: 196.8 kB / 0.5103 GB, free: 10.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.4175, allocations: 210.2 kB / 0.5105 GB, free: 10.42 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.4177, allocations: 110.3 kB / 0.5106 GB, free: 10.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.4179, allocations: 350.8 kB / 0.511 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004348/0.4183, allocations: 241.2 kB / 0.5112 GB, free: 9.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006761/0.419, allocations: 336.3 kB / 0.5115 GB, free: 9.359 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.4202, allocations: 0.6034 MB / 0.5121 GB, free: 8.723 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.4202, allocations: 4 kB / 0.5121 GB, free: 8.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001856/0.422, allocations: 0.756 MB / 0.5129 GB, free: 7.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4221, allocations: 7.938 kB / 0.5129 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.4221, allocations: 4 kB / 0.5129 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005035/0.4226, allocations: 106.5 kB / 0.513 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004906/0.4231, allocations: 127.8 kB / 0.5131 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002776/0.4258, allocations: 3.257 MB / 0.5163 GB, free: 4.188 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003084/0.4262, allocations: 16.03 kB / 0.5163 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/0.4262, allocations: 27.98 kB / 0.5163 GB, free: 4.145 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.0002834/0.4265, allocations: 202 kB / 0.5165 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.4268, allocations: 47.77 kB / 0.5166 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.4284, allocations: 0.819 MB / 0.5174 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4284, allocations: 4 kB / 0.5174 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.4284, allocations: 0 / 0.5174 GB, free: 3.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0012/0.4296, allocations: 0.7597 MB / 0.5181 GB, free: 2.203 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/0.4318, allocations: 1.183 MB / 0.5193 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4318, allocations: 0 / 0.5193 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004446/0.4322, allocations: 103.9 kB / 0.5194 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008765/0.4331, allocations: 156.5 kB / 0.5195 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.4332, allocations: 15.98 kB / 0.5195 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004931/0.4337, allocations: 0.6484 MB / 0.5202 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4337, allocations: 0 / 0.5202 GB, free: 8 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.4354, allocations: 0.917 MB / 0.5211 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-05/0.4355, allocations: 39.8 kB / 0.5211 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.4356, allocations: 12 kB / 0.5211 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.436, allocations: 19.98 kB / 0.5211 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.436, allocations: 32.38 kB / 0.5212 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/0.4361, allocations: 35.91 kB / 0.5212 GB, free: 14.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003049/0.4364, allocations: 259.1 kB / 0.5214 GB, free: 14.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4364, allocations: 0 / 0.5214 GB, free: 14.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003883/0.4403, allocations: 1.341 MB / 0.5227 GB, free: 13.34 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.007303/0.4476, allocations: 3.042 MB / 0.5257 GB, free: 10.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.4491, allocations: 0.7685 MB / 0.5265 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.4492, allocations: 0 / 0.5265 GB, free: 9.457 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005693/0.4497, allocations: 279.2 kB / 0.5267 GB, free: 9.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.4511, allocations: 285.6 kB / 0.527 GB, free: 8.906 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009579/0.4607, allocations: 5.333 MB / 0.5322 GB, free: 3.398 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.461, allocations: 229.6 kB / 0.5324 GB, free: 3.152 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005913/0.4616, allocations: 152.2 kB / 0.5326 GB, free: 3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003006/0.4619, allocations: 155.4 kB / 0.5327 GB, free: 2.848 MB / 446.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4619, allocations: 0 / 0.5327 GB, free: 2.848 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2645/0.7264, allocations: 52.34 MB / 0.5838 GB, free: 65.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.61, allocations: 11.8 kB / 0.5838 GB, free: 65.88 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 24.960080039221793]