Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001286/0.001286, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001439/0.001439, allocations: 205.9 kB / 23.73 MB, free: 4.379 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.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 47.92 kB / 377.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2586, allocations: 53.37 MB / 431.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07351/0.3321, allocations: 58.99 MB / 490.1 MB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007606/0.3397, allocations: 4.974 MB / 495 MB, free: 6.449 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.3401, allocations: 11.94 kB / 495.1 MB, free: 6.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.3411, allocations: 334 kB / 495.4 MB, free: 6.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.3422, allocations: 0.5089 MB / 495.9 MB, free: 5.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01903/0.3613, allocations: 7.47 MB / 0.4916 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002072/0.3633, allocations: 1.571 MB / 0.4931 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.3636, allocations: 149.4 kB / 0.4932 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.3647, allocations: 0.6347 MB / 0.4939 GB, free: 11.76 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008507/0.3655, allocations: 0.6073 MB / 0.4945 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.3657, allocations: 84 kB / 0.4945 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01816/0.3838, allocations: 9.868 MB / 0.5042 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000534/0.3844, allocations: 331.2 kB / 0.5045 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005956/0.3849, allocations: 374.7 kB / 0.5048 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.014/0.3989, allocations: 5.888 MB / 0.5106 GB, free: 10.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.399, allocations: 4 kB / 0.5106 GB, free: 10.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.399, allocations: 0 / 0.5106 GB, free: 10.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.399, allocations: 0 / 0.5106 GB, free: 10.59 MB / 430.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.003806/0.4028, allocations: 1.522 MB / 0.5121 GB, free: 9.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.4028, allocations: 19.97 kB / 0.5121 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001411/0.403, allocations: 106.5 kB / 0.5122 GB, free: 8.898 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000434/0.4034, allocations: 91.5 kB / 0.5123 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.4041, allocations: 375.3 kB / 0.5127 GB, free: 8.418 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.4041, allocations: 49.31 kB / 0.5127 GB, free: 8.371 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.4043, allocations: 63.95 kB / 0.5128 GB, free: 8.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.4062, allocations: 1.228 MB / 0.514 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.4062, allocations: 0 / 0.514 GB, free: 6.973 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.581e-05/0.4063, allocations: 28 kB / 0.514 GB, free: 6.945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.4063, allocations: 12 kB / 0.514 GB, free: 6.934 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.4082, allocations: 1.024 MB / 0.515 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.4214, allocations: 4.147 MB / 0.519 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001763/0.4232, allocations: 0.704 MB / 0.5197 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/0.4238, allocations: 394.4 kB / 0.5201 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/0.4339, allocations: 2.612 MB / 0.5227 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.595e-05/0.434, allocations: 43.2 kB / 0.5227 GB, free: 13.95 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.176e-06/0.434, allocations: 0 / 0.5227 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009568/0.4436, allocations: 3.163 MB / 0.5258 GB, free: 10.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/0.4436, allocations: 60.41 kB / 0.5259 GB, free: 10.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/0.4441, allocations: 360.4 kB / 0.5262 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/0.4442, allocations: 49.7 kB / 0.5262 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.4443, allocations: 237.2 kB / 0.5265 GB, free: 10.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.4446, allocations: 325.2 kB / 0.5268 GB, free: 9.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.4449, allocations: 162.6 kB / 0.5269 GB, free: 9.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4451, allocations: 366.8 kB / 0.5273 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005993/0.4457, allocations: 365.8 kB / 0.5276 GB, free: 8.824 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009431/0.4466, allocations: 496.2 kB / 0.5281 GB, free: 8.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.4484, allocations: 0.902 MB / 0.529 GB, free: 7.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.4484, allocations: 4 kB / 0.529 GB, free: 7.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002649/0.4511, allocations: 1.125 MB / 0.5301 GB, free: 6.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4511, allocations: 8 kB / 0.5301 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4511, allocations: 0 / 0.5301 GB, free: 6.219 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008356/0.4519, allocations: 167.6 kB / 0.5303 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.4527, allocations: 191.7 kB / 0.5304 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.4559, allocations: 3.894 MB / 0.5342 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.4563, allocations: 20 kB / 0.5343 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.552e-05/0.4564, allocations: 43.98 kB / 0.5343 GB, free: 1.621 MB / 446.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.0003807/0.4568, allocations: 227.2 kB / 0.5345 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.4572, allocations: 63.67 kB / 0.5346 GB, free: 1.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.4596, allocations: 1.289 MB / 0.5358 GB, free: 0 / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/0.4597, allocations: 8.453 kB / 0.5358 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.4597, allocations: 3.875 kB / 0.5359 GB, free: 107.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002386/0.4621, allocations: 1.316 MB / 0.5371 GB, free: 106.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.4653, allocations: 1.808 MB / 0.5389 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.4653, allocations: 1.094 kB / 0.5389 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/0.466, allocations: 163.2 kB / 0.5391 GB, free: 105.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001701/0.4677, allocations: 303 kB / 0.5393 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.941e-05/0.4677, allocations: 26.28 kB / 0.5394 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005623/0.4683, allocations: 1.29 MB / 0.5406 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4683, allocations: 1.719 kB / 0.5406 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.4707, allocations: 1.425 MB / 0.542 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001397/0.4708, allocations: 45.8 kB / 0.5421 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.36e-05/0.4709, allocations: 24.34 kB / 0.5421 GB, free: 104 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.4714, allocations: 28.44 kB / 0.5421 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.4715, allocations: 56.03 kB / 0.5422 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.618e-05/0.4716, allocations: 44.22 kB / 0.5422 GB, free: 103.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002957/0.4719, allocations: 280.4 kB / 0.5425 GB, free: 103.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4719, allocations: 0 / 0.5425 GB, free: 103.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003407/0.4753, allocations: 1.429 MB / 0.5439 GB, free: 103.7 MB / 446.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.007314/0.4826, allocations: 3.607 MB / 0.5474 GB, free: 102.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.4845, allocations: 1.099 MB / 0.5485 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4845, allocations: 3.75 kB / 0.5485 GB, free: 101.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007253/0.4852, allocations: 483.7 kB / 0.5489 GB, free: 101.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.487, allocations: 389.1 kB / 0.5493 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009935/0.4969, allocations: 7.079 MB / 0.5562 GB, free: 94.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.4971, allocations: 317.5 kB / 0.5565 GB, free: 94.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006874/0.4978, allocations: 212.8 kB / 0.5567 GB, free: 94.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/0.4981, allocations: 223.4 kB / 0.5569 GB, free: 94.06 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4981, allocations: 8 kB / 0.5569 GB, free: 94.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08976/0.5879, allocations: 59.51 MB / 0.6151 GB, free: 34.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.49, allocations: 18.16 kB / 0.6151 GB, free: 34.91 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_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_MoistAir2.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable volume1.medium.p in file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.079557345976355]