Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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.001205/0.001205, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002791, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.001106/0.001106, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001323/0.00243, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8835/0.8835, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1673/1.051, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1322/0.1322, allocations: 32.34 MB / 253.6 MB, free: 4.168 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.022/0.1542, allocations: 12.3 MB / 265.9 MB, free: 7.836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 267.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.176e-05, allocations: 6.25 kB / 267.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3141/0.3141, allocations: 146.2 MB / 413.5 MB, free: 5.074 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009271/0.3234, allocations: 8.305 MB / 421.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.3236, allocations: 4 kB / 421.8 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003233/0.3239, allocations: 87.5 kB / 421.9 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005654/0.3295, allocations: 2.664 MB / 424.5 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.3299, allocations: 167.7 kB / 424.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007018/0.3306, allocations: 0.5774 MB / 425.3 MB, free: 9.277 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.59e-05/0.3306, allocations: 18.5 kB / 425.3 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004624/0.3311, allocations: 323.1 kB / 425.6 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.3318, allocations: 347.2 kB / 425.9 MB, free: 8.602 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.293e-05/0.3318, allocations: 16 kB / 426 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00532/0.3371, allocations: 3.223 MB / 429.2 MB, free: 5.355 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3372, allocations: 79.77 kB / 429.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.3374, allocations: 95.81 kB / 429.3 MB, free: 5.184 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003433/0.3408, allocations: 1.73 MB / 431.1 MB, free: 3.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.3e-05/0.3408, allocations: 0 / 431.1 MB, free: 3.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3408, allocations: 0 / 431.1 MB, free: 3.449 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.317e-05/0.3408, allocations: 0 / 431.1 MB, free: 3.449 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002244/0.3431, allocations: 1.236 MB / 432.3 MB, free: 2.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3431, allocations: 16.03 kB / 432.3 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.3433, allocations: 56.83 kB / 432.4 MB, free: 2.098 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.3435, allocations: 177.4 kB / 432.6 MB, free: 1.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3436, allocations: 238.6 kB / 432.8 MB, free: 1.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.3437, allocations: 31.98 kB / 432.8 MB, free: 1.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004423/0.3441, allocations: 0.5499 MB / 433.4 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3441, allocations: 0 / 433.4 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3442, allocations: 12 kB / 433.4 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.3442, allocations: 32.64 kB / 433.4 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006907/0.3449, allocations: 0.5635 MB / 434 MB, free: 352 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.3462, allocations: 1.422 MB / 435.4 MB, free: 14.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.3465, allocations: 229.3 kB / 435.6 MB, free: 14.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.105e-05/0.3466, allocations: 78.19 kB / 435.7 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.348, allocations: 1.16 MB / 436.9 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.348, allocations: 38.5 kB / 436.9 MB, free: 13.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.044e-06/0.348, allocations: 4 kB / 436.9 MB, free: 13.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005683/0.3486, allocations: 397.7 kB / 437.3 MB, free: 12.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3486, allocations: 59.41 kB / 437.4 MB, free: 12.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.3487, allocations: 210 kB / 437.6 MB, free: 12.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.3488, allocations: 33.7 kB / 437.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.3488, allocations: 204 kB / 437.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.3489, allocations: 146.7 kB / 437.9 MB, free: 12.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.349, allocations: 134.1 kB / 438.1 MB, free: 12.12 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.602e-05/0.3491, allocations: 338.7 kB / 438.4 MB, free: 11.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.279e-05/0.3492, allocations: 64.09 kB / 438.5 MB, free: 11.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.3494, allocations: 374.8 kB / 438.8 MB, free: 11.21 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.3497, allocations: 0.5049 MB / 439.3 MB, free: 10.56 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.3497, allocations: 4 kB / 439.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003763/0.3501, allocations: 402.8 kB / 439.7 MB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3501, allocations: 12 kB / 439.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.3501, allocations: 8 kB / 439.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3502, allocations: 16 kB / 439.8 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.3506, allocations: 224.3 kB / 440 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002877/0.3509, allocations: 0.6054 MB / 440.6 MB, free: 9.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.3511, allocations: 67.52 kB / 440.6 MB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.649e-05/0.3512, allocations: 51.98 kB / 440.7 MB, free: 9.156 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.000401/0.3516, allocations: 156.4 kB / 440.9 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.3516, allocations: 35.97 kB / 440.9 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/0.3522, allocations: 0.5237 MB / 441.4 MB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.3522, allocations: 4 kB / 441.4 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3522, allocations: 4 kB / 441.4 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.3522, allocations: 0 / 441.4 MB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.3525, allocations: 181.5 kB / 441.6 MB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3525, allocations: 3.984 kB / 441.6 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.3528, allocations: 99.86 kB / 441.7 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.3528, allocations: 43.78 kB / 441.7 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.3528, allocations: 0 / 441.7 MB, free: 8.062 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.3529, allocations: 15.98 kB / 441.8 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00021/0.3531, allocations: 0.5859 MB / 442.3 MB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3531, allocations: 0 / 442.3 MB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.3533, allocations: 192.8 kB / 442.5 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.3533, allocations: 15.89 kB / 442.5 MB, free: 7.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.594e-05/0.3534, allocations: 11.98 kB / 442.6 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.3534, allocations: 24.23 kB / 442.6 MB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.3534, allocations: 27.92 kB / 442.6 MB, free: 7.148 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.591e-05/0.3535, allocations: 70.78 kB / 442.7 MB, free: 7.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3535, allocations: 4.062 kB / 442.7 MB, free: 7.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001012/0.3545, allocations: 474.6 kB / 443.1 MB, free: 6.605 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (34): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001307/0.3558, allocations: 0.8006 MB / 443.9 MB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.3562, allocations: 265.3 kB / 444.2 MB, free: 5.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.125e-05/0.3562, allocations: 8 kB / 444.2 MB, free: 5.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.789e-05/0.3563, allocations: 85.31 kB / 444.3 MB, free: 5.469 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.3566, allocations: 196.3 kB / 444.5 MB, free: 5.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.3677, allocations: 8.579 MB / 453.1 MB, free: 12.66 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.116e-05/0.3677, allocations: 94.81 kB / 453.2 MB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004942/0.3682, allocations: 179 kB / 453.3 MB, free: 12.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003273/0.3685, allocations: 201.2 kB / 453.5 MB, free: 12.17 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3685, allocations: 0 / 453.5 MB, free: 12.17 MB / 410.7 MB Notification: Performance of Templates: time 0.01887/0.3874, allocations: 17.62 MB / 471.2 MB, free: 10.63 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.994518468156457]