Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.0008239/0.0008239, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007672/0.0007672, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8481/0.8481, allocations: 173.4 MB / 200.5 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 318.4 MB, free: 6.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.08e-05, allocations: 6.281 kB / 318.4 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.04196/0.04198, allocations: 58.68 MB / 377.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.0465, allocations: 4.97 MB / 382.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.04678, allocations: 11.94 kB / 382.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.04755, allocations: 341.9 kB / 382.4 MB, free: 5.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006845/0.04824, allocations: 0.5394 MB / 383 MB, free: 5.43 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.06237, allocations: 7.522 MB / 390.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.06419, allocations: 1.566 MB / 392.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.0645, allocations: 149.3 kB / 392.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.0657, allocations: 0.8494 MB / 393.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006797/0.06638, allocations: 0.5259 MB / 393.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.06651, allocations: 80 kB / 393.7 MB, free: 10.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01289/0.0794, allocations: 9.562 MB / 403.2 MB, free: 1.152 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000359/0.07976, allocations: 339.1 kB / 403.6 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000444/0.0802, allocations: 339.4 kB / 403.9 MB, free: 500 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.09103, allocations: 7.133 MB / 411 MB, free: 9.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.09103, allocations: 4 kB / 411 MB, free: 9.336 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.09103, allocations: 4 kB / 411 MB, free: 9.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.09105, allocations: 0 / 411 MB, free: 9.332 MB / 378.7 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.002778/0.09383, allocations: 1.51 MB / 412.5 MB, free: 7.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.09388, allocations: 20.91 kB / 412.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.561e-05/0.09397, allocations: 106.5 kB / 412.7 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002931/0.09426, allocations: 83.55 kB / 412.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004987/0.09476, allocations: 387.6 kB / 413.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.84e-05/0.09479, allocations: 45.31 kB / 413.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.538e-05/0.09486, allocations: 60 kB / 413.2 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.09607, allocations: 1.232 MB / 414.5 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.09609, allocations: 3.953 kB / 414.5 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.09614, allocations: 28 kB / 414.5 MB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.09615, allocations: 16 kB / 414.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.09729, allocations: 1.016 MB / 415.5 MB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007521/0.1048, allocations: 4.147 MB / 419.7 MB, free: 472 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.1061, allocations: 0.7 MB / 420.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003835/0.1065, allocations: 391.2 kB / 420.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004994/0.1115, allocations: 2.623 MB / 423.4 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.1116, allocations: 47.22 kB / 423.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=78): time 2.444e-06/0.1116, allocations: 0 / 423.4 MB, free: 12.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.00526/0.1168, allocations: 3.156 MB / 426.6 MB, free: 9.496 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.1169, allocations: 60.41 kB / 426.6 MB, free: 9.422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.1171, allocations: 364.4 kB / 427 MB, free: 9.059 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.1172, allocations: 49.64 kB / 427 MB, free: 9.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.1173, allocations: 245.2 kB / 427.3 MB, free: 8.758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.1175, allocations: 321.2 kB / 427.6 MB, free: 8.441 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.1176, allocations: 162.6 kB / 427.8 MB, free: 8.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1177, allocations: 358.8 kB / 428.1 MB, free: 7.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.1181, allocations: 365.8 kB / 428.5 MB, free: 7.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.1187, allocations: 492.2 kB / 428.9 MB, free: 7.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1197, allocations: 0.9021 MB / 429.8 MB, free: 6.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.1197, allocations: 4 kB / 429.8 MB, free: 6.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001795/0.1215, allocations: 1.11 MB / 431 MB, free: 4.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.1216, allocations: 8.281 kB / 431 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1216, allocations: 7.938 kB / 431 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.122, allocations: 171.3 kB / 431.1 MB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003927/0.1224, allocations: 187.7 kB / 431.3 MB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.1243, allocations: 3.898 MB / 435.2 MB, free: 432 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.1246, allocations: 24 kB / 435.2 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.1246, allocations: 43.98 kB / 435.3 MB, free: 364 kB / 394.7 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.0002973/0.1249, allocations: 226.1 kB / 435.5 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.1251, allocations: 63.67 kB / 435.6 MB, free: 64 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.1266, allocations: 1.281 MB / 436.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1266, allocations: 15.94 kB / 436.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1266, allocations: 0 / 436.9 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001383/0.128, allocations: 1.312 MB / 438.2 MB, free: 13.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.1301, allocations: 1.819 MB / 440 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1301, allocations: 0 / 440 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.1305, allocations: 159.8 kB / 440.2 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009033/0.1314, allocations: 305.3 kB / 440.5 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.353e-05/0.1315, allocations: 27.98 kB / 440.5 MB, free: 10.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005461/0.132, allocations: 1.293 MB / 441.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.132, allocations: 0 / 441.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.1338, allocations: 1.418 MB / 443.2 MB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.1339, allocations: 51.72 kB / 443.2 MB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.1339, allocations: 20 kB / 443.3 MB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.1342, allocations: 31.97 kB / 443.3 MB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.1343, allocations: 56.89 kB / 443.3 MB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.1344, allocations: 43.97 kB / 443.4 MB, free: 7.938 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002254/0.1346, allocations: 279 kB / 443.7 MB, free: 7.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1346, allocations: 0 / 443.7 MB, free: 7.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003315/0.1379, allocations: 1.419 MB / 445.1 MB, free: 6.246 MB / 410.7 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.007126/0.145, allocations: 3.782 MB / 448.9 MB, free: 2.434 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.1469, allocations: 1.105 MB / 450 MB, free: 1.297 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1469, allocations: 0 / 450 MB, free: 1.297 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.1475, allocations: 471.2 kB / 450.4 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001254/0.1487, allocations: 390.3 kB / 450.8 MB, free: 456 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1373/0.2861, allocations: 6.98 MB / 457.8 MB, free: 122.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.2862, allocations: 309.3 kB / 458.1 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004794/0.2867, allocations: 207.7 kB / 458.3 MB, free: 122.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.2869, allocations: 227 kB / 458.5 MB, free: 122 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.2869, allocations: 0 / 458.5 MB, free: 122 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05557/0.3425, allocations: 59.32 MB / 0.5057 GB, free: 66.36 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.518/9.86, allocations: 11.81 kB / 0.5057 GB, free: 66.35 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv. Warning: Get data of variable volume1.medium.p from file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.2154875760898]