Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001412/0.001412, allocations: 111.1 kB / 20.44 MB, free: 1.336 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.001491/0.001491, allocations: 213.2 kB / 23.73 MB, free: 4.516 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 46.96 MB / 360.9 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 75.83 kB / 0.4961 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 66.04 MB / 0.5606 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2419/0.5648, allocations: 168.7 MB / 0.7254 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01147/0.5763, allocations: 6.815 MB / 0.732 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008065/0.5771, allocations: 27.75 kB / 0.7321 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001273/0.5783, allocations: 405.6 kB / 0.7325 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007474/0.5858, allocations: 2.419 MB / 0.7348 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3528/0.9386, allocations: 2.357 MB / 0.7371 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003554/0.9421, allocations: 2.216 MB / 0.7393 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008358/0.943, allocations: 0.507 MB / 0.7398 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004213/0.9472, allocations: 1.869 MB / 0.7416 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00174/0.9489, allocations: 0.9223 MB / 0.7425 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00022/0.9491, allocations: 92.75 kB / 0.7426 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00818/0.9573, allocations: 4.398 MB / 0.7469 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009668/0.9583, allocations: 442.3 kB / 0.7473 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009584/0.9592, allocations: 465.1 kB / 0.7478 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.9695, allocations: 3.69 MB / 0.7514 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/0.9695, allocations: 3.25 kB / 0.7514 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.897e-06/0.9695, allocations: 0 / 0.7514 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.472e-05/0.9696, allocations: 0.8125 kB / 0.7514 GB, free: 3.102 MB / 0.5606 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.005338/0.9749, allocations: 1.687 MB / 0.753 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.975, allocations: 10.5 kB / 0.753 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002066/0.9752, allocations: 133.8 kB / 0.7531 GB, free: 18.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004384/0.9756, allocations: 119 kB / 0.7533 GB, free: 18.16 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.9767, allocations: 0.5576 MB / 0.7538 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.9769, allocations: 172.4 kB / 0.754 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.977, allocations: 67.97 kB / 0.754 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.9788, allocations: 1.565 MB / 0.7556 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.9788, allocations: 8.062 kB / 0.7556 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-05/0.9789, allocations: 33.88 kB / 0.7556 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.01e-05/0.979, allocations: 56.98 kB / 0.7557 GB, free: 17.14 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.9806, allocations: 1.151 MB / 0.7568 GB, free: 17.14 MB / 0.5762 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.006381/0.9869, allocations: 3.803 MB / 0.7605 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.9886, allocations: 0.7921 MB / 0.7613 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005488/0.9891, allocations: 400.5 kB / 0.7617 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006586/0.9898, allocations: 211.5 kB / 0.7619 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.9898, allocations: 46.56 kB / 0.7619 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.614e-06/0.9898, allocations: 0.75 kB / 0.7619 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01192/1.002, allocations: 3.947 MB / 0.7658 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/1.002, allocations: 112.5 kB / 0.7659 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007289/1.003, allocations: 0.6758 MB / 0.7665 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/1.003, allocations: 42.33 kB / 0.7666 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/1.003, allocations: 395.1 kB / 0.7669 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/1.003, allocations: 308.3 kB / 0.7672 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/1.003, allocations: 194.3 kB / 0.7674 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002491/1.004, allocations: 391.9 kB / 0.7678 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008057/1.004, allocations: 494.9 kB / 0.7683 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000974/1.005, allocations: 0.8106 MB / 0.7691 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/1.007, allocations: 1.282 MB / 0.7703 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/1.007, allocations: 2.625 kB / 0.7703 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002906/1.01, allocations: 1.667 MB / 0.7719 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.01, allocations: 11.53 kB / 0.7719 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.01, allocations: 8.625 kB / 0.772 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006218/1.016, allocations: 1.303 MB / 0.7732 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/1.017, allocations: 156.3 kB / 0.7734 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/1.019, allocations: 1.527 MB / 0.7749 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009678/1.02, allocations: 57.38 kB / 0.7749 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.021, allocations: 51.31 kB / 0.775 GB, free: 12.86 MB / 0.5762 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.0005776/1.021, allocations: 302.6 kB / 0.7753 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002524/1.021, allocations: 90.88 kB / 0.7753 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/1.024, allocations: 1.675 MB / 0.777 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.024, allocations: 13.33 kB / 0.777 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/1.024, allocations: 0 / 0.777 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.024, allocations: 5.672 kB / 0.777 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/1.028, allocations: 2.381 MB / 0.7793 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.028, allocations: 3.938 kB / 0.7793 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/1.03, allocations: 263 kB / 0.7796 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001535/1.031, allocations: 377.5 kB / 0.7799 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.936e-05/1.031, allocations: 30.55 kB / 0.78 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/1.034, allocations: 2.249 MB / 0.7822 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.034, allocations: 2.906 kB / 0.7822 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/1.038, allocations: 2.034 MB / 0.7842 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008562/1.039, allocations: 215.2 kB / 0.7844 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/1.039, allocations: 24.64 kB / 0.7844 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/1.04, allocations: 51.75 kB / 0.7844 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/1.04, allocations: 68.7 kB / 0.7845 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/1.04, allocations: 44.78 kB / 0.7845 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000745/1.041, allocations: 0.4973 MB / 0.785 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.041, allocations: 0 / 0.785 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002289/1.043, allocations: 0.6978 MB / 0.7857 GB, free: 9.832 MB / 0.5762 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.006196/1.049, allocations: 3.296 MB / 0.7889 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002486/1.052, allocations: 1.185 MB / 0.7901 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.052, allocations: 0 / 0.7901 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00157/1.053, allocations: 0.6999 MB / 0.7908 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.056, allocations: 0.5203 MB / 0.7913 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.072, allocations: 9.684 MB / 0.8007 GB, free: 6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004141/1.073, allocations: 452.4 kB / 0.8012 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001083/1.074, allocations: 368.5 kB / 0.8015 GB, free: 5.832 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004463/1.074, allocations: 331 kB / 0.8018 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/1.074, allocations: 0 / 0.8018 GB, free: 5.824 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09399/1.168, allocations: 45.46 MB / 0.8462 GB, free: 12 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.17, allocations: 0 / 0.8462 GB, free: 12 MB / 0.6231 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 18.433248088986147]