Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001291/0.001291, allocations: 131.4 kB / 17.8 MB, free: 5.219 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.001508/0.001508, allocations: 211.6 kB / 20.75 MB, free: 2.27 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.499/1.499, allocations: 230.4 MB / 254 MB, free: 15.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2619/0.2619, allocations: 46.92 MB / 357 MB, free: 10.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 75.89 kB / 0.491 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1445, allocations: 66.04 MB / 0.5555 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5514/0.6958, allocations: 194.7 MB / 0.7456 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01151/0.7073, allocations: 7.461 MB / 0.7529 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008801/0.7082, allocations: 31.75 kB / 0.7529 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.7095, allocations: 453.4 kB / 0.7534 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006888/0.7164, allocations: 2.38 MB / 0.7557 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006926/0.7233, allocations: 2.315 MB / 0.7579 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003331/0.7267, allocations: 2.2 MB / 0.7601 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.7277, allocations: 0.5328 MB / 0.7606 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004684/0.7324, allocations: 1.861 MB / 0.7624 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.7339, allocations: 0.9189 MB / 0.7633 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.734, allocations: 92 kB / 0.7634 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.7441, allocations: 5.385 MB / 0.7687 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008628/0.745, allocations: 442.8 kB / 0.7691 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.7459, allocations: 0.5329 MB / 0.7696 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009638/0.7555, allocations: 3.849 MB / 0.7734 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7555, allocations: 0 / 0.7734 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7555, allocations: 3.938 kB / 0.7734 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.449e-05/0.7555, allocations: 0 / 0.7734 GB, free: 1.727 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.004602/0.7601, allocations: 1.78 MB / 0.7751 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.7602, allocations: 8.031 kB / 0.7751 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001822/0.7604, allocations: 126.5 kB / 0.7752 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004589/0.7608, allocations: 115.3 kB / 0.7753 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.7619, allocations: 0.6214 MB / 0.776 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.7621, allocations: 117.4 kB / 0.7761 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.7622, allocations: 68 kB / 0.7761 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.7642, allocations: 1.162 MB / 0.7773 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.7642, allocations: 7.938 kB / 0.7773 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.7643, allocations: 31.98 kB / 0.7773 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.366e-05/0.7644, allocations: 61.91 kB / 0.7774 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.7664, allocations: 1.163 MB / 0.7785 GB, free: 12.3 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007446/0.7738, allocations: 4.964 MB / 0.7833 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.7757, allocations: 0.7834 MB / 0.7841 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006815/0.7763, allocations: 406.2 kB / 0.7845 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001589/0.7779, allocations: 1.626 MB / 0.7861 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.225e-05/0.778, allocations: 48 kB / 0.7861 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 3.025e-06/0.778, allocations: 0 / 0.7861 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01426/0.7923, allocations: 4.018 MB / 0.7901 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.7924, allocations: 115.5 kB / 0.7902 GB, free: 15.56 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009795/0.7933, allocations: 0.6603 MB / 0.7908 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.7934, allocations: 45.7 kB / 0.7909 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003564/0.7938, allocations: 400.3 kB / 0.7912 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000309/0.7941, allocations: 301.5 kB / 0.7915 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.7945, allocations: 194.5 kB / 0.7917 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002306/0.7947, allocations: 386.8 kB / 0.7921 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.7957, allocations: 0.4899 MB / 0.7926 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.797, allocations: 0.7523 MB / 0.7933 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002461/0.7995, allocations: 1.289 MB / 0.7946 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.7995, allocations: 3.938 kB / 0.7946 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00372/0.8032, allocations: 1.657 MB / 0.7962 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.8033, allocations: 13.97 kB / 0.7962 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.8033, allocations: 19.12 kB / 0.7962 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007316/0.8106, allocations: 1.316 MB / 0.7975 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.8113, allocations: 155.7 kB / 0.7976 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002899/0.8142, allocations: 1.522 MB / 0.7991 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009552/0.8152, allocations: 52.02 kB / 0.7992 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.8153, allocations: 55.97 kB / 0.7992 GB, free: 5.992 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0005621/0.8158, allocations: 293.5 kB / 0.7995 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.8161, allocations: 91.48 kB / 0.7996 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003561/0.8196, allocations: 1.672 MB / 0.8012 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.8196, allocations: 12 kB / 0.8012 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.8197, allocations: 3.938 kB / 0.8012 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.8197, allocations: 7.984 kB / 0.8012 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004753/0.8244, allocations: 2.62 MB / 0.8038 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.698e-06/0.8244, allocations: 7.984 kB / 0.8038 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.8257, allocations: 251.7 kB / 0.8041 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.8275, allocations: 384.5 kB / 0.8044 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-05/0.8276, allocations: 31.98 kB / 0.8045 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002921/0.8305, allocations: 2.351 MB / 0.8067 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.8305, allocations: 7.969 kB / 0.8068 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.8346, allocations: 2.033 MB / 0.8087 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006072/0.8352, allocations: 288.4 kB / 0.809 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.8353, allocations: 27.98 kB / 0.809 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007832/0.8361, allocations: 51.95 kB / 0.8091 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.8363, allocations: 64.86 kB / 0.8092 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.8364, allocations: 47.95 kB / 0.8092 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006851/0.8371, allocations: 0.4912 MB / 0.8097 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.8371, allocations: 0 / 0.8097 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002119/0.8392, allocations: 0.6974 MB / 0.8104 GB, free: 10.26 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006485/0.8457, allocations: 3.285 MB / 0.8136 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002998/0.8487, allocations: 1.182 MB / 0.8147 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.8487, allocations: 4 kB / 0.8147 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.8506, allocations: 0.6898 MB / 0.8154 GB, free: 5.051 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.8533, allocations: 0.5255 MB / 0.8159 GB, free: 4.539 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01801/0.8713, allocations: 9.675 MB / 0.8254 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007354/0.872, allocations: 1.043 MB / 0.8264 GB, free: 9.406 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001112/0.8731, allocations: 373.3 kB / 0.8267 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005384/0.8737, allocations: 331.3 kB / 0.8271 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of SimCode: time 8.92e-07/0.8737, allocations: 0 / 0.8271 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3884/1.262, allocations: 44.04 MB / 0.8701 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.56, allocations: 10.91 kB / 0.8701 GB, free: 221.2 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.04292242298834]