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.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.0009746/0.0009746, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.0009689/0.0009689, allocations: 165 kB / 24.56 MB, free: 8 kB / 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 0.922/0.922, allocations: 177.1 MB / 205 MB, free: 5.613 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.2631/0.2631, allocations: 32.8 MB / 294.3 MB, free: 1.273 MB / 266.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.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 1.403e-06/1.403e-06, allocations: 0 / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.53e-05, allocations: 9.203 kB / 376.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.2979/0.2979, allocations: 148.1 MB / 0.5118 GB, free: 18.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005228/0.3031, allocations: 6.419 MB / 0.5181 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.3033, allocations: 2.812 kB / 0.5181 GB, free: 14.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000477/0.3038, allocations: 88.62 kB / 0.5182 GB, free: 14.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005534/0.3093, allocations: 2.568 MB / 0.5207 GB, free: 12.99 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.3096, allocations: 173.6 kB / 0.5209 GB, free: 12.9 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005975/0.3102, allocations: 0.5644 MB / 0.5214 GB, free: 12.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.3103, allocations: 13.28 kB / 0.5214 GB, free: 12.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.3106, allocations: 319.7 kB / 0.5217 GB, free: 12.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005684/0.3112, allocations: 383.2 kB / 0.5221 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.3112, allocations: 14.25 kB / 0.5221 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004217/0.3154, allocations: 2.962 MB / 0.525 GB, free: 11.52 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3156, allocations: 107.8 kB / 0.5251 GB, free: 11.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.3157, allocations: 121.6 kB / 0.5252 GB, free: 11.43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.32, allocations: 1.957 MB / 0.5271 GB, free: 10.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.32, allocations: 0 / 0.5271 GB, free: 10.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.32, allocations: 0 / 0.5271 GB, free: 10.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.32, allocations: 0 / 0.5271 GB, free: 10.83 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.002145/0.3221, allocations: 1.014 MB / 0.5281 GB, free: 10.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.3222, allocations: 12.06 kB / 0.5281 GB, free: 10.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/0.3225, allocations: 69.52 kB / 0.5282 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.3227, allocations: 195.6 kB / 0.5284 GB, free: 9.949 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.3228, allocations: 235.5 kB / 0.5286 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.3229, allocations: 34.73 kB / 0.5287 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004636/0.3233, allocations: 0.5881 MB / 0.5292 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3233, allocations: 0 / 0.5292 GB, free: 9.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.3234, allocations: 21.33 kB / 0.5292 GB, free: 9.199 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.3234, allocations: 29.39 kB / 0.5293 GB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005567/0.324, allocations: 0.6938 MB / 0.53 GB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/0.3253, allocations: 1.883 MB / 0.5318 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.3258, allocations: 221.9 kB / 0.532 GB, free: 7.559 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.897e-05/0.3259, allocations: 102.3 kB / 0.5321 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.3272, allocations: 1.076 MB / 0.5332 GB, free: 6.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.3272, allocations: 42.53 kB / 0.5332 GB, free: 6.934 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.934e-06/0.3272, allocations: 0 / 0.5332 GB, free: 6.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.001198/0.3284, allocations: 0.6677 MB / 0.5338 GB, free: 6.633 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.222e-05/0.3284, allocations: 54.38 kB / 0.5339 GB, free: 6.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.3285, allocations: 284.1 kB / 0.5342 GB, free: 6.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3286, allocations: 29.7 kB / 0.5342 GB, free: 6.312 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.3286, allocations: 250.1 kB / 0.5344 GB, free: 6.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.202e-05/0.3287, allocations: 167.5 kB / 0.5346 GB, free: 5.953 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3288, allocations: 139 kB / 0.5347 GB, free: 5.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.588e-05/0.3289, allocations: 0.5114 MB / 0.5352 GB, free: 5.379 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.329, allocations: 71.88 kB / 0.5353 GB, free: 5.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001993/0.3292, allocations: 0.5132 MB / 0.5358 GB, free: 4.766 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004075/0.3296, allocations: 0.6616 MB / 0.5364 GB, free: 4.074 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.3296, allocations: 2.844 kB / 0.5364 GB, free: 4.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0005762/0.3302, allocations: 0.5227 MB / 0.537 GB, free: 3.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3302, allocations: 8.969 kB / 0.537 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.3302, allocations: 11.38 kB / 0.537 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3302, allocations: 15.22 kB / 0.537 GB, free: 3.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.3306, allocations: 193.6 kB / 0.5372 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003074/0.3309, allocations: 1.815 MB / 0.5389 GB, free: 2.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.3311, allocations: 21.62 kB / 0.539 GB, free: 2.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.474e-05/0.3311, allocations: 59.3 kB / 0.539 GB, free: 2.016 MB / 410.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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.3312, allocations: 202.2 kB / 0.5392 GB, free: 1.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.3313, allocations: 39.55 kB / 0.5393 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/0.3319, allocations: 0.6306 MB / 0.5399 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3319, allocations: 6.531 kB / 0.5399 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3319, allocations: 3.031 kB / 0.5399 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3319, allocations: 2.531 kB / 0.5399 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.3325, allocations: 0.6206 MB / 0.5405 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3325, allocations: 0 / 0.5405 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002456/0.3327, allocations: 98.44 kB / 0.5406 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3327, allocations: 6.984 kB / 0.5406 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.3328, allocations: 13.91 kB / 0.5406 GB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003412/0.3331, allocations: 1.798 MB / 0.5424 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3331, allocations: 0 / 0.5424 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.3334, allocations: 395.5 kB / 0.5427 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.3335, allocations: 47.23 kB / 0.5428 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.3335, allocations: 10.84 kB / 0.5428 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.3336, allocations: 12.33 kB / 0.5428 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.3337, allocations: 27.48 kB / 0.5428 GB, free: 14.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3337, allocations: 13.36 kB / 0.5428 GB, free: 14.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001012/0.3338, allocations: 208.9 kB / 0.543 GB, free: 14.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3338, allocations: 0 / 0.543 GB, free: 14.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001143/0.3349, allocations: 435.2 kB / 0.5435 GB, free: 14.62 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00113/0.3361, allocations: 0.659 MB / 0.5441 GB, free: 14.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005618/0.3366, allocations: 341.8 kB / 0.5444 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3366, allocations: 2.938 kB / 0.5444 GB, free: 14.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.3368, allocations: 143.5 kB / 0.5446 GB, free: 14.08 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.3373, allocations: 149.9 kB / 0.5447 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.3433, allocations: 5.985 MB / 0.5506 GB, free: 9.715 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.378e-05/0.3433, allocations: 106.7 kB / 0.5507 GB, free: 9.586 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004278/0.3438, allocations: 187.1 kB / 0.5508 GB, free: 9.406 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.3439, allocations: 64.47 kB / 0.5509 GB, free: 9.344 MB / 426.7 MB Notification: Performance of SimCode: time 1.954e-06/0.3439, allocations: 3.938 kB / 0.5509 GB, free: 9.34 MB / 426.7 MB Notification: Performance of Templates: time 0.01655/0.3605, allocations: 15.9 MB / 0.5664 GB, free: 9.594 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 -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,rangeDelta=0.001) [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] Reference file matches [Calling sys.exit(0), Time elapsed: 4.148891676217318]