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.001819/0.001819, allocations: 108.3 kB / 20.48 MB, free: 0.9805 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.001462/0.001462, allocations: 219.2 kB / 23.78 MB, free: 4.215 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.455/1.455, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2281/0.2281, allocations: 46.95 MB / 360.9 MB, free: 3.883 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.00224/0.00224, allocations: 71.88 kB / 0.4962 GB, free: 7.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3503, allocations: 66.1 MB / 0.5608 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.2276/0.5779, allocations: 168.7 MB / 0.7256 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.5888, allocations: 6.819 MB / 0.7322 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007949/0.5896, allocations: 27.75 kB / 0.7323 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.5909, allocations: 417.6 kB / 0.7327 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006571/0.5975, allocations: 2.403 MB / 0.735 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.3646/0.9621, allocations: 2.349 MB / 0.7373 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003072/0.9651, allocations: 2.211 MB / 0.7395 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009137/0.966, allocations: 0.5115 MB / 0.74 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004598/0.9706, allocations: 1.874 MB / 0.7418 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001328/0.972, allocations: 0.8894 MB / 0.7427 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.9721, allocations: 95 kB / 0.7427 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00723/0.9793, allocations: 4.277 MB / 0.7469 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006275/0.98, allocations: 439.8 kB / 0.7473 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008472/0.9808, allocations: 467.6 kB / 0.7478 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006828/0.9876, allocations: 3.687 MB / 0.7514 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.9876, allocations: 2.938 kB / 0.7514 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9876, allocations: 1.031 kB / 0.7514 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.9877, allocations: 0 / 0.7514 GB, free: 2.91 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.003994/0.9916, allocations: 1.692 MB / 0.753 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.9917, allocations: 11.66 kB / 0.7531 GB, free: 18.06 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001576/0.9918, allocations: 122 kB / 0.7532 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.9923, allocations: 117.9 kB / 0.7533 GB, free: 17.97 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009597/0.9932, allocations: 0.5601 MB / 0.7538 GB, free: 17.76 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/0.9934, allocations: 171 kB / 0.754 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.9935, allocations: 74.88 kB / 0.7541 GB, free: 17.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.9953, allocations: 1.565 MB / 0.7556 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.9953, allocations: 4.828 kB / 0.7556 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.9954, allocations: 37.23 kB / 0.7556 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.728e-05/0.9955, allocations: 60.86 kB / 0.7557 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.997, allocations: 1.152 MB / 0.7568 GB, free: 16.95 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.005447/1.002, allocations: 3.799 MB / 0.7605 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.004, allocations: 0.7885 MB / 0.7613 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005149/1.004, allocations: 403.2 kB / 0.7617 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005693/1.005, allocations: 210.4 kB / 0.7619 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/1.005, allocations: 44.38 kB / 0.7619 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.355e-06/1.005, allocations: 2.562 kB / 0.7619 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82): time 0.01204/1.017, allocations: 3.949 MB / 0.7658 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/1.017, allocations: 115.2 kB / 0.7659 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/1.018, allocations: 0.6723 MB / 0.7665 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/1.018, allocations: 44.58 kB / 0.7666 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/1.018, allocations: 397.2 kB / 0.767 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/1.018, allocations: 307.5 kB / 0.7673 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/1.019, allocations: 195.9 kB / 0.7674 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.019, allocations: 386.9 kB / 0.7678 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008235/1.02, allocations: 497 kB / 0.7683 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000973/1.021, allocations: 0.8075 MB / 0.7691 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/1.022, allocations: 1.282 MB / 0.7703 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.022, allocations: 4.797 kB / 0.7703 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002979/1.025, allocations: 1.665 MB / 0.772 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/1.025, allocations: 12.06 kB / 0.772 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.025, allocations: 8.812 kB / 0.772 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006908/1.032, allocations: 1.308 MB / 0.7733 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/1.033, allocations: 151.5 kB / 0.7734 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/1.036, allocations: 1.527 MB / 0.7749 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/1.037, allocations: 54.42 kB / 0.7749 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/1.037, allocations: 55.12 kB / 0.775 GB, free: 12.66 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.0005981/1.038, allocations: 298.8 kB / 0.7753 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/1.038, allocations: 89.78 kB / 0.7754 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/1.041, allocations: 1.679 MB / 0.777 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.041, allocations: 11.52 kB / 0.777 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.041, allocations: 2.109 kB / 0.777 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.041, allocations: 2.766 kB / 0.777 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004259/1.045, allocations: 2.375 MB / 0.7793 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.045, allocations: 11.41 kB / 0.7794 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.047, allocations: 259.6 kB / 0.7796 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/1.049, allocations: 380.6 kB / 0.78 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.414e-05/1.049, allocations: 34.91 kB / 0.78 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/1.051, allocations: 2.244 MB / 0.7822 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.051, allocations: 1.812 kB / 0.7822 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/1.055, allocations: 2.031 MB / 0.7842 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007444/1.056, allocations: 223 kB / 0.7844 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/1.056, allocations: 22.03 kB / 0.7844 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008063/1.057, allocations: 59.06 kB / 0.7845 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/1.057, allocations: 67.52 kB / 0.7845 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/1.057, allocations: 46.47 kB / 0.7846 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007177/1.058, allocations: 0.4956 MB / 0.7851 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/1.058, allocations: 4.375 kB / 0.7851 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002048/1.06, allocations: 0.693 MB / 0.7857 GB, free: 9.621 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.00655/1.066, allocations: 3.292 MB / 0.789 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002582/1.069, allocations: 1.189 MB / 0.7901 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.069, allocations: 0 / 0.7901 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.071, allocations: 0.6981 MB / 0.7908 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/1.073, allocations: 0.5177 MB / 0.7913 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/1.088, allocations: 9.691 MB / 0.8008 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/1.089, allocations: 447.5 kB / 0.8012 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001148/1.09, allocations: 375.8 kB / 0.8015 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/1.09, allocations: 335.2 kB / 0.8019 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of SimCode: time 1.182e-06/1.09, allocations: 0 / 0.8019 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08975/1.18, allocations: 45.13 MB / 0.8459 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.45, allocations: 15.67 kB / 0.846 GB, free: 11.83 MB / 0.6231 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: 18.695481033006217]