Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007103/0.0007103, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001713, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006515/0.0006515, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009251/0.001577, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8906/0.8906, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1563/1.047, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.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.13/0.13, allocations: 32.79 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02415/0.1542, allocations: 12.54 MB / 284.5 MB, free: 9.719 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 285.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.672e-05, allocations: 4.984 kB / 285.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3036/0.3036, allocations: 145 MB / 430.9 MB, free: 7.5 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005309/0.3089, allocations: 6.433 MB / 437.3 MB, free: 1.078 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000115/0.3091, allocations: 0 / 437.3 MB, free: 1.078 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.3093, allocations: 87.5 kB / 437.4 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004694/0.314, allocations: 2.453 MB / 439.8 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.3144, allocations: 175.6 kB / 440 MB, free: 14.36 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007306/0.3151, allocations: 0.5645 MB / 440.6 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.26e-05/0.3152, allocations: 14.56 kB / 440.6 MB, free: 13.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.3156, allocations: 320.9 kB / 440.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006125/0.3162, allocations: 351.2 kB / 441.3 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.3163, allocations: 16 kB / 441.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004581/0.3209, allocations: 3.009 MB / 444.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.321, allocations: 79.83 kB / 444.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.3211, allocations: 95.81 kB / 444.4 MB, free: 9.918 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002644/0.3237, allocations: 1.621 MB / 446.1 MB, free: 8.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.3237, allocations: 4 kB / 446.1 MB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3237, allocations: 0 / 446.1 MB, free: 8.289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3237, allocations: 0 / 446.1 MB, free: 8.289 MB / 410.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.00174/0.3255, allocations: 1.17 MB / 447.2 MB, free: 7.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.3255, allocations: 8.031 kB / 447.2 MB, free: 7.062 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.3257, allocations: 68.72 kB / 447.3 MB, free: 6.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.3259, allocations: 177.4 kB / 447.5 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.326, allocations: 230.2 kB / 447.7 MB, free: 6.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.3261, allocations: 35.98 kB / 447.7 MB, free: 6.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003846/0.3264, allocations: 0.5421 MB / 448.3 MB, free: 5.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3264, allocations: 4 kB / 448.3 MB, free: 5.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.3265, allocations: 12 kB / 448.3 MB, free: 5.848 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.748e-05/0.3265, allocations: 24.64 kB / 448.3 MB, free: 5.824 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004056/0.3269, allocations: 0.5635 MB / 448.9 MB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.3281, allocations: 1.389 MB / 450.3 MB, free: 3.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.3287, allocations: 241.2 kB / 450.5 MB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.579e-05/0.3288, allocations: 67.44 kB / 450.6 MB, free: 3.508 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001193/0.3299, allocations: 1.043 MB / 451.6 MB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.33, allocations: 38.56 kB / 451.7 MB, free: 2.402 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.432e-06/0.33, allocations: 3.938 kB / 451.7 MB, free: 2.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009512/0.3309, allocations: 0.6354 MB / 452.3 MB, free: 1.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.3309, allocations: 55.41 kB / 452.4 MB, free: 1.691 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.331, allocations: 207.4 kB / 452.6 MB, free: 1.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3311, allocations: 29.7 kB / 452.6 MB, free: 1.441 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.3311, allocations: 211.9 kB / 452.8 MB, free: 1.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/0.3312, allocations: 150.7 kB / 452.9 MB, free: 1.082 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.529e-05/0.3313, allocations: 122.2 kB / 453.1 MB, free: 0.957 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.3314, allocations: 338.8 kB / 453.4 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-05/0.3314, allocations: 60.09 kB / 453.5 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.3316, allocations: 369.6 kB / 453.8 MB, free: 48 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.332, allocations: 0.5251 MB / 454.3 MB, free: 15.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.332, allocations: 4 kB / 454.3 MB, free: 15.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0003523/0.3323, allocations: 403.3 kB / 454.7 MB, free: 14.97 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.3323, allocations: 8 kB / 454.7 MB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.3324, allocations: 13.33 kB / 454.8 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.3324, allocations: 16 kB / 454.8 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.3328, allocations: 211.7 kB / 455 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002299/0.333, allocations: 0.6015 MB / 455.6 MB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.3332, allocations: 63.52 kB / 455.6 MB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.506e-05/0.3332, allocations: 47.98 kB / 455.7 MB, free: 13.99 MB / 426.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.0001047/0.3333, allocations: 164.6 kB / 455.9 MB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.3334, allocations: 39.91 kB / 455.9 MB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005447/0.3339, allocations: 0.5251 MB / 456.4 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.3339, allocations: 4 kB / 456.4 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.3339, allocations: 0 / 456.4 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3339, allocations: 0 / 456.4 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.3344, allocations: 0.5519 MB / 457 MB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/0.3344, allocations: 4 kB / 457 MB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3346, allocations: 104 kB / 457.1 MB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.3347, allocations: 39.77 kB / 457.1 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3347, allocations: 0 / 457.1 MB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3347, allocations: 8 kB / 457.1 MB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004418/0.3352, allocations: 0.5935 MB / 457.7 MB, free: 11.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3352, allocations: 4 kB / 457.7 MB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.3354, allocations: 326 kB / 458 MB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.3354, allocations: 11.94 kB / 458.1 MB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.3355, allocations: 28.05 kB / 458.1 MB, free: 11.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.3355, allocations: 23.89 kB / 458.1 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.3355, allocations: 12 kB / 458.1 MB, free: 11.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.213e-05/0.3356, allocations: 74.77 kB / 458.2 MB, free: 11.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3356, allocations: 0 / 458.2 MB, free: 11.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009044/0.3365, allocations: 442.6 kB / 458.6 MB, free: 10.95 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.001186/0.3377, allocations: 0.7027 MB / 459.3 MB, free: 10.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004266/0.3381, allocations: 264.9 kB / 459.6 MB, free: 9.992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.926e-05/0.3381, allocations: 11.98 kB / 459.6 MB, free: 9.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.3383, allocations: 102.8 kB / 459.7 MB, free: 9.879 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007495/0.339, allocations: 457.8 kB / 460.1 MB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.3497, allocations: 5.403 MB / 465.5 MB, free: 3.926 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.448e-05/0.3498, allocations: 93.81 kB / 465.6 MB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005916/0.3504, allocations: 155.1 kB / 465.8 MB, free: 3.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004497/0.3508, allocations: 189.2 kB / 466 MB, free: 3.477 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3509, allocations: 0 / 466 MB, free: 3.477 MB / 426.7 MB Notification: Performance of Templates: time 0.02157/0.3724, allocations: 15.59 MB / 481.6 MB, free: 4.031 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_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.866222913376987]