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.001285/0.001285, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001411/0.001411, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.426/1.426, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2349/0.2349, allocations: 46.92 MB / 357.1 MB, free: 10.32 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.00189/0.00189, allocations: 67.89 kB / 0.4909 GB, free: 7.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1288, allocations: 66 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5714/0.7002, allocations: 194.7 MB / 0.7455 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01228/0.7125, allocations: 7.461 MB / 0.7528 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009524/0.7134, allocations: 27.75 kB / 0.7528 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.7152, allocations: 457.4 kB / 0.7533 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007601/0.7228, allocations: 2.381 MB / 0.7556 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007035/0.7298, allocations: 2.315 MB / 0.7578 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003313/0.7332, allocations: 2.204 MB / 0.76 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.7343, allocations: 0.5288 MB / 0.7605 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004845/0.7392, allocations: 1.861 MB / 0.7623 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.7411, allocations: 0.9189 MB / 0.7632 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/0.7414, allocations: 92 kB / 0.7633 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0114/0.7528, allocations: 5.401 MB / 0.7686 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.7538, allocations: 426.9 kB / 0.769 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001452/0.7553, allocations: 0.5368 MB / 0.7695 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.7667, allocations: 3.849 MB / 0.7733 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7667, allocations: 0 / 0.7733 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7667, allocations: 0 / 0.7733 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.268e-05/0.7667, allocations: 0 / 0.7733 GB, free: 2.133 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.005419/0.7722, allocations: 1.78 MB / 0.775 GB, free: 304 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/0.7722, allocations: 12.03 kB / 0.775 GB, free: 292 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003265/0.7725, allocations: 126.5 kB / 0.7751 GB, free: 156 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006295/0.7732, allocations: 122.2 kB / 0.7753 GB, free: 36 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.7746, allocations: 0.6214 MB / 0.7759 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.7748, allocations: 113.4 kB / 0.776 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.775, allocations: 71.97 kB / 0.776 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002355/0.7773, allocations: 1.154 MB / 0.7772 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.7774, allocations: 0 / 0.7772 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/0.7775, allocations: 35.98 kB / 0.7772 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.36e-05/0.7776, allocations: 65.89 kB / 0.7773 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.7799, allocations: 1.167 MB / 0.7784 GB, free: 12.7 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.008402/0.7883, allocations: 4.963 MB / 0.7833 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.7902, allocations: 0.7869 MB / 0.784 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007177/0.791, allocations: 406.2 kB / 0.7844 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/0.7927, allocations: 1.63 MB / 0.786 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.609e-05/0.7928, allocations: 47.11 kB / 0.786 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.846e-06/0.7928, allocations: 0 / 0.786 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01499/0.8078, allocations: 4.021 MB / 0.79 GB, free: 88 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.8079, allocations: 119.5 kB / 0.7901 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001096/0.809, allocations: 0.6564 MB / 0.7907 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.8091, allocations: 41.7 kB / 0.7908 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/0.8095, allocations: 400.4 kB / 0.7912 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.8098, allocations: 297.5 kB / 0.7914 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.8102, allocations: 206.5 kB / 0.7916 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002787/0.8105, allocations: 386.8 kB / 0.792 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.8115, allocations: 489.7 kB / 0.7925 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.8129, allocations: 0.7601 MB / 0.7932 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/0.8155, allocations: 1.281 MB / 0.7945 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/0.8155, allocations: 7.938 kB / 0.7945 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003926/0.8195, allocations: 1.665 MB / 0.7961 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.8195, allocations: 8 kB / 0.7961 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.8195, allocations: 8 kB / 0.7961 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007528/0.827, allocations: 1.308 MB / 0.7974 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007842/0.8278, allocations: 163.4 kB / 0.7975 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.8308, allocations: 1.522 MB / 0.799 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001032/0.8318, allocations: 47.97 kB / 0.7991 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.8321, allocations: 55.98 kB / 0.7991 GB, free: 6.395 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.000702/0.8328, allocations: 303.6 kB / 0.7994 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.8331, allocations: 87.48 kB / 0.7995 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/0.8369, allocations: 1.674 MB / 0.8011 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.432e-05/0.837, allocations: 11.98 kB / 0.8011 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.837, allocations: 3.938 kB / 0.8012 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.837, allocations: 3.984 kB / 0.8012 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005358/0.8423, allocations: 2.624 MB / 0.8037 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.8423, allocations: 0 / 0.8037 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.8437, allocations: 267.9 kB / 0.804 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001845/0.8456, allocations: 372.4 kB / 0.8043 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.8457, allocations: 35.97 kB / 0.8044 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003027/0.8487, allocations: 2.352 MB / 0.8067 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.8487, allocations: 0 / 0.8067 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004424/0.8531, allocations: 2.041 MB / 0.8087 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006567/0.8538, allocations: 292.4 kB / 0.8089 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.854, allocations: 24.62 kB / 0.809 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009275/0.8549, allocations: 51.94 kB / 0.809 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.8551, allocations: 60.86 kB / 0.8091 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/0.8552, allocations: 47.97 kB / 0.8091 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008215/0.856, allocations: 0.499 MB / 0.8096 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.856, allocations: 0 / 0.8096 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002283/0.8583, allocations: 0.6896 MB / 0.8103 GB, free: 10.65 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.007434/0.8658, allocations: 3.285 MB / 0.8135 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003581/0.8693, allocations: 1.189 MB / 0.8146 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/0.8694, allocations: 3.938 kB / 0.8146 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.8715, allocations: 0.69 MB / 0.8153 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.8746, allocations: 0.5301 MB / 0.8158 GB, free: 4.926 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02084/0.8954, allocations: 9.683 MB / 0.8253 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008743/0.8963, allocations: 1.039 MB / 0.8263 GB, free: 9.789 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001244/0.8976, allocations: 366.6 kB / 0.8267 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006418/0.8982, allocations: 331.3 kB / 0.827 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of SimCode: time 1.292e-06/0.8982, allocations: 0 / 0.827 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4022/1.3, allocations: 44.06 MB / 0.87 GB, free: 222.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.81, allocations: 5.281 kB / 0.87 GB, free: 222.3 MB / 0.6387 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.44266807497479]