Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001825/0.001825, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002225/0.002225, allocations: 204.7 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 59.89 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2515, allocations: 53.41 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07275/0.3242, allocations: 58.99 MB / 490.1 MB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007255/0.3315, allocations: 4.959 MB / 495.1 MB, free: 6.297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000351/0.3318, allocations: 7.938 kB / 495.1 MB, free: 6.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.3329, allocations: 342 kB / 495.4 MB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001006/0.3339, allocations: 0.5127 MB / 495.9 MB, free: 5.438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01924/0.3532, allocations: 7.467 MB / 0.4916 GB, free: 13.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002203/0.3554, allocations: 1.559 MB / 0.4931 GB, free: 12.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.3557, allocations: 145.4 kB / 0.4933 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001162/0.3569, allocations: 0.6385 MB / 0.4939 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008764/0.3577, allocations: 0.576 MB / 0.4945 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001542/0.3579, allocations: 84 kB / 0.4945 GB, free: 10.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01848/0.3764, allocations: 9.543 MB / 0.5039 GB, free: 1.406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004882/0.3768, allocations: 331.1 kB / 0.5042 GB, free: 1.082 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005832/0.3774, allocations: 386.7 kB / 0.5045 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01275/0.3902, allocations: 5.877 MB / 0.5103 GB, free: 10.81 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3902, allocations: 0 / 0.5103 GB, free: 10.81 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3902, allocations: 0 / 0.5103 GB, free: 10.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3902, allocations: 0 / 0.5103 GB, free: 10.81 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.003606/0.3938, allocations: 1.529 MB / 0.5118 GB, free: 9.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3939, allocations: 15.98 kB / 0.5118 GB, free: 9.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001384/0.394, allocations: 106.5 kB / 0.5119 GB, free: 9.117 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.3944, allocations: 95.44 kB / 0.512 GB, free: 9.023 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.3951, allocations: 387.2 kB / 0.5124 GB, free: 8.621 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.394e-05/0.3952, allocations: 45.31 kB / 0.5124 GB, free: 8.578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001043/0.3953, allocations: 67.95 kB / 0.5125 GB, free: 8.512 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.3973, allocations: 1.212 MB / 0.5137 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.3973, allocations: 11.92 kB / 0.5137 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.326e-05/0.3974, allocations: 24 kB / 0.5137 GB, free: 7.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.3974, allocations: 19.94 kB / 0.5137 GB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.3993, allocations: 1.028 MB / 0.5147 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01368/0.413, allocations: 4.139 MB / 0.5188 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.4148, allocations: 0.7033 MB / 0.5194 GB, free: 1.203 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006062/0.4154, allocations: 395.2 kB / 0.5198 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01065/0.4261, allocations: 2.604 MB / 0.5224 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.674e-05/0.4262, allocations: 43.59 kB / 0.5224 GB, free: 14.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.926e-06/0.4262, allocations: 3.938 kB / 0.5224 GB, free: 14.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009563/0.4357, allocations: 3.159 MB / 0.5255 GB, free: 10.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.565e-05/0.4358, allocations: 60.41 kB / 0.5255 GB, free: 10.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.4362, allocations: 356.4 kB / 0.5259 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.118e-05/0.4363, allocations: 45.7 kB / 0.5259 GB, free: 10.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.4365, allocations: 241.2 kB / 0.5262 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/0.4368, allocations: 329.2 kB / 0.5265 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.437, allocations: 162.6 kB / 0.5266 GB, free: 9.762 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.4372, allocations: 366.8 kB / 0.527 GB, free: 9.395 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006072/0.4378, allocations: 373.8 kB / 0.5273 GB, free: 9.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009573/0.4387, allocations: 492.2 kB / 0.5278 GB, free: 8.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.4405, allocations: 0.8982 MB / 0.5287 GB, free: 7.586 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4405, allocations: 0 / 0.5287 GB, free: 7.586 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002676/0.4432, allocations: 1.121 MB / 0.5298 GB, free: 6.445 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.4432, allocations: 7.938 kB / 0.5298 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4433, allocations: 4.281 kB / 0.5298 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008222/0.4441, allocations: 175.2 kB / 0.53 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.4448, allocations: 183.8 kB / 0.5301 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003212/0.448, allocations: 3.902 MB / 0.5339 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.4485, allocations: 16 kB / 0.534 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.86e-05/0.4486, allocations: 43.98 kB / 0.534 GB, free: 1.832 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.0003923/0.449, allocations: 238.7 kB / 0.5342 GB, free: 1.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/0.4494, allocations: 63.67 kB / 0.5343 GB, free: 1.527 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.452, allocations: 1.281 MB / 0.5355 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.452, allocations: 8 kB / 0.5355 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.452, allocations: 0 / 0.5355 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1997/0.6517, allocations: 1.314 MB / 0.5368 GB, free: 106.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.655, allocations: 1.801 MB / 0.5386 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.655, allocations: 1.219 kB / 0.5386 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006779/0.6556, allocations: 169.5 kB / 0.5387 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.6573, allocations: 300.1 kB / 0.539 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.531e-05/0.6574, allocations: 28.88 kB / 0.5391 GB, free: 105.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005748/0.658, allocations: 1.29 MB / 0.5403 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.658, allocations: 1.375 kB / 0.5403 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.6605, allocations: 1.423 MB / 0.5417 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.6607, allocations: 49.81 kB / 0.5418 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.6608, allocations: 27.88 kB / 0.5418 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005045/0.6613, allocations: 32.08 kB / 0.5418 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.6614, allocations: 54.84 kB / 0.5419 GB, free: 103.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.753e-05/0.6615, allocations: 44.31 kB / 0.5419 GB, free: 103.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003077/0.6618, allocations: 280.3 kB / 0.5422 GB, free: 103.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6618, allocations: 0 / 0.5422 GB, free: 103.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003849/0.6656, allocations: 1.426 MB / 0.5436 GB, free: 103.6 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.00826/0.6739, allocations: 3.6 MB / 0.5471 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002109/0.676, allocations: 1.111 MB / 0.5482 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.676, allocations: 3.938 kB / 0.5482 GB, free: 101.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000759/0.6768, allocations: 473.9 kB / 0.5486 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.001764/0.6785, allocations: 386.8 kB / 0.549 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009843/0.6884, allocations: 7.09 MB / 0.5559 GB, free: 94.69 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.6886, allocations: 312.4 kB / 0.5562 GB, free: 94.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000683/0.6893, allocations: 211.2 kB / 0.5564 GB, free: 94.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.6896, allocations: 223.5 kB / 0.5566 GB, free: 94.07 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6896, allocations: 0 / 0.5566 GB, free: 94.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08945/0.779, allocations: 59.26 MB / 0.6145 GB, free: 35.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.07/15.84, allocations: 11.55 kB / 0.6145 GB, free: 35.08 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 31.10057014459744]