Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009655/0.0009655, allocations: 80.8 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001182/0.001182, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 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.041/1.041, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1493/0.1493, allocations: 32.8 MB / 294.6 MB, free: 15.44 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 323.3 MB, free: 2.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.63e-05, allocations: 8.844 kB / 323.3 MB, free: 2.742 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.296/0.296, allocations: 150.3 MB / 473.6 MB, free: 388 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004523/0.3005, allocations: 2.962 MB / 476.6 MB, free: 13.44 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000608/0.3012, allocations: 27.75 kB / 476.6 MB, free: 13.41 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006436/0.3018, allocations: 242.4 kB / 476.8 MB, free: 13.17 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004298/0.3061, allocations: 1.698 MB / 478.5 MB, free: 11.46 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.3082, allocations: 1.009 MB / 479.5 MB, free: 10.45 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002475/0.3107, allocations: 2.277 MB / 481.8 MB, free: 8.168 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008878/0.3116, allocations: 0.5458 MB / 482.4 MB, free: 7.602 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.3135, allocations: 1.407 MB / 483.8 MB, free: 6.191 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009795/0.3145, allocations: 0.7363 MB / 484.5 MB, free: 5.453 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000172/0.3147, allocations: 92 kB / 484.6 MB, free: 5.363 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.3174, allocations: 1.517 MB / 486.1 MB, free: 3.844 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004067/0.3178, allocations: 470.8 kB / 486.6 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004577/0.3183, allocations: 403.2 kB / 487 MB, free: 2.988 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.3209, allocations: 1.866 MB / 488.8 MB, free: 1.117 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3209, allocations: 3.938 kB / 488.8 MB, free: 1.113 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3209, allocations: 0 / 488.8 MB, free: 1.113 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.897e-05/0.3209, allocations: 0 / 488.8 MB, free: 1.113 MB / 426.7 MB 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.002293/0.3232, allocations: 1.338 MB / 490.2 MB, free: 15.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3232, allocations: 15.98 kB / 490.2 MB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003552/0.3236, allocations: 159.6 kB / 490.4 MB, free: 15.58 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.3242, allocations: 479.1 kB / 490.8 MB, free: 15.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.3244, allocations: 172.8 kB / 491 MB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.865e-05/0.3245, allocations: 75.95 kB / 491.1 MB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/0.3254, allocations: 1.114 MB / 492.2 MB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.3254, allocations: 7.938 kB / 492.2 MB, free: 13.54 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.904e-05/0.3254, allocations: 28 kB / 492.2 MB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.3255, allocations: 65.95 kB / 492.3 MB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005627/0.3261, allocations: 416.3 kB / 492.7 MB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.3293, allocations: 2.673 MB / 495.4 MB, free: 10.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.3299, allocations: 459.4 kB / 495.8 MB, free: 9.832 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.3301, allocations: 137.6 kB / 495.9 MB, free: 9.695 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/0.3304, allocations: 133.2 kB / 496.1 MB, free: 9.566 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.3304, allocations: 47.16 kB / 496.1 MB, free: 9.512 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 3.417e-06/0.3304, allocations: 0 / 496.1 MB, free: 9.512 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.004332/0.3347, allocations: 2.095 MB / 498.2 MB, free: 7.387 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.3348, allocations: 115.5 kB / 498.3 MB, free: 7.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.3351, allocations: 474.9 kB / 498.8 MB, free: 6.773 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/0.3352, allocations: 41.7 kB / 498.8 MB, free: 6.727 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.3353, allocations: 365.1 kB / 499.2 MB, free: 6.363 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.3355, allocations: 301.4 kB / 499.5 MB, free: 6.066 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.3357, allocations: 182.8 kB / 499.7 MB, free: 5.883 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003906/0.3361, allocations: 394.6 kB / 0.4883 GB, free: 5.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.3363, allocations: 133.4 kB / 0.4885 GB, free: 5.355 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.3366, allocations: 473.9 kB / 0.4889 GB, free: 4.766 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006072/0.3372, allocations: 0.6462 MB / 0.4895 GB, free: 3.992 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3372, allocations: 4 kB / 0.4895 GB, free: 3.988 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.000891/0.3381, allocations: 0.7064 MB / 0.4902 GB, free: 3.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.3382, allocations: 8 kB / 0.4902 GB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3382, allocations: 12 kB / 0.4902 GB, free: 3.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/0.3408, allocations: 0.9655 MB / 0.4912 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.3412, allocations: 167.7 kB / 0.4913 GB, free: 2.121 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007713/0.3419, allocations: 0.836 MB / 0.4922 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.3423, allocations: 43.3 kB / 0.4922 GB, free: 1.215 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.548e-05/0.3424, allocations: 51.92 kB / 0.4923 GB, free: 1.164 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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.0002726/0.3427, allocations: 184.3 kB / 0.4924 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3428, allocations: 75.92 kB / 0.4925 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.3439, allocations: 0.8661 MB / 0.4934 GB, free: 12 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.3439, allocations: 12 kB / 0.4934 GB, free: 0 / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.3439, allocations: 0 / 0.4934 GB, free: 0 / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.3439, allocations: 12.02 kB / 0.4934 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.3456, allocations: 1.216 MB / 0.4946 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3456, allocations: 0 / 0.4946 GB, free: 14.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006299/0.3462, allocations: 243.8 kB / 0.4948 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009879/0.3472, allocations: 254.1 kB / 0.495 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.3473, allocations: 27.98 kB / 0.4951 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/0.3484, allocations: 1.816 MB / 0.4968 GB, free: 12.26 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3484, allocations: 7.938 kB / 0.4968 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009354/0.3493, allocations: 0.839 MB / 0.4977 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.3496, allocations: 119.5 kB / 0.4978 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.731e-05/0.3496, allocations: 20 kB / 0.4978 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.35, allocations: 39.97 kB / 0.4978 GB, free: 11.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3501, allocations: 68.41 kB / 0.4979 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.3501, allocations: 35.97 kB / 0.4979 GB, free: 11.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001779/0.3503, allocations: 216.4 kB / 0.4981 GB, free: 10.88 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3503, allocations: 0 / 0.4981 GB, free: 10.88 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001242/0.3515, allocations: 495 kB / 0.4986 GB, free: 10.39 MB / 458.7 MB 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 (80): * Single equations (assignments): 76 * 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.0008206/0.3524, allocations: 0.5077 MB / 0.4991 GB, free: 9.875 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008337/0.3532, allocations: 0.5424 MB / 0.4996 GB, free: 9.332 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/0.3532, allocations: 12.5 kB / 0.4996 GB, free: 9.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005596/0.3538, allocations: 352.2 kB / 0.5 GB, free: 8.977 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3548, allocations: 463.4 kB / 0.5004 GB, free: 8.551 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.3576, allocations: 1.662 MB / 0.502 GB, free: 6.84 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3578, allocations: 221.7 kB / 0.5023 GB, free: 6.602 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005358/0.3583, allocations: 238 kB / 0.5025 GB, free: 6.367 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007644/0.3591, allocations: 402.9 kB / 0.5029 GB, free: 5.969 MB / 458.7 MB Notification: Performance of SimCode: time 1.222e-06/0.3591, allocations: 0 / 0.5029 GB, free: 5.969 MB / 458.7 MB Notification: Performance of Templates: time 0.2151/0.5742, allocations: 28.41 MB / 0.5306 GB, free: 39.91 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.333644099067897]