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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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=5000,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.1.|dddX.2.|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=5000,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.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 106.1 kB / 18.3 MB, free: 4.836 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 199.3 kB / 19.23 MB, free: 3.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2116/0.2116, allocations: 44.18 MB / 337.3 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 58.44 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1308, allocations: 60.83 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3463/0.4771, allocations: 152.2 MB / 0.6075 GB, free: 8.465 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01118/0.4884, allocations: 10.45 MB / 0.6177 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.4886, allocations: 4 kB / 0.6177 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.489, allocations: 83.48 kB / 0.6178 GB, free: 13.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007296/0.4963, allocations: 3.023 MB / 0.6208 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.4967, allocations: 165.4 kB / 0.6209 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000672/0.4974, allocations: 0.5295 MB / 0.6214 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.07e-05/0.4975, allocations: 20.41 kB / 0.6215 GB, free: 10.19 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.4978, allocations: 227.2 kB / 0.6217 GB, free: 9.969 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007113/0.4985, allocations: 374.9 kB / 0.622 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.4986, allocations: 12 kB / 0.622 GB, free: 9.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0079/0.5065, allocations: 4.601 MB / 0.6265 GB, free: 4.98 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.5067, allocations: 91.75 kB / 0.6266 GB, free: 4.891 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.5069, allocations: 167.2 kB / 0.6268 GB, free: 4.727 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004869/0.5118, allocations: 2.393 MB / 0.6291 GB, free: 2.328 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5118, allocations: 0 / 0.6291 GB, free: 2.328 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5118, allocations: 3.938 kB / 0.6291 GB, free: 2.324 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.968e-06/0.5118, allocations: 0 / 0.6291 GB, free: 2.324 MB / 462.1 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.002747/0.5146, allocations: 1.046 MB / 0.6301 GB, free: 1.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5147, allocations: 8.031 kB / 0.6301 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002221/0.5149, allocations: 44.39 kB / 0.6302 GB, free: 1.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.5152, allocations: 246.6 kB / 0.6304 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.5153, allocations: 127.5 kB / 0.6305 GB, free: 0.75 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.813e-05/0.5154, allocations: 31.98 kB / 0.6306 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.5162, allocations: 0.5603 MB / 0.6311 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.5162, allocations: 0 / 0.6311 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.5163, allocations: 19.98 kB / 0.6311 GB, free: 112 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.632e-05/0.5163, allocations: 24.55 kB / 0.6312 GB, free: 88 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.5178, allocations: 1.263 MB / 0.6324 GB, free: 14.82 MB / 478.1 MB 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.002399/0.5202, allocations: 1.98 MB / 0.6343 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.5209, allocations: 260 kB / 0.6346 GB, free: 12.43 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.5211, allocations: 114 kB / 0.6347 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003221/0.5243, allocations: 3.095 MB / 0.6377 GB, free: 8.691 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.5244, allocations: 38.56 kB / 0.6377 GB, free: 8.645 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.5244, allocations: 0 / 0.6377 GB, free: 8.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001915/0.5263, allocations: 0.7119 MB / 0.6384 GB, free: 7.906 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.5263, allocations: 63.41 kB / 0.6385 GB, free: 7.832 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.5265, allocations: 206.2 kB / 0.6387 GB, free: 7.621 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.499e-05/0.5266, allocations: 33.64 kB / 0.6387 GB, free: 7.582 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.5267, allocations: 187.8 kB / 0.6389 GB, free: 7.395 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5268, allocations: 157.8 kB / 0.6391 GB, free: 7.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.527, allocations: 134.1 kB / 0.6392 GB, free: 7.102 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5271, allocations: 334.8 kB / 0.6395 GB, free: 6.766 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.5273, allocations: 114 kB / 0.6396 GB, free: 6.656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.5278, allocations: 417.3 kB / 0.64 GB, free: 6.102 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006995/0.5285, allocations: 0.5706 MB / 0.6406 GB, free: 5.387 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.5285, allocations: 4 kB / 0.6406 GB, free: 5.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000957/0.5294, allocations: 0.5535 MB / 0.6411 GB, free: 4.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5295, allocations: 12 kB / 0.6411 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5295, allocations: 8 kB / 0.6411 GB, free: 4.805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.5295, allocations: 16 kB / 0.6412 GB, free: 4.789 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/0.5302, allocations: 191.7 kB / 0.6413 GB, free: 4.602 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006413/0.5308, allocations: 1.192 MB / 0.6425 GB, free: 3.363 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003133/0.5312, allocations: 20 kB / 0.6425 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/0.5313, allocations: 55.97 kB / 0.6426 GB, free: 3.289 MB / 478.1 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.0001897/0.5315, allocations: 177.5 kB / 0.6427 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.5315, allocations: 27.91 kB / 0.6428 GB, free: 3.078 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.5328, allocations: 0.639 MB / 0.6434 GB, free: 2.406 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.5328, allocations: 4 kB / 0.6434 GB, free: 2.402 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.5328, allocations: 4 kB / 0.6434 GB, free: 2.398 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5328, allocations: 4 kB / 0.6434 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.5339, allocations: 0.8279 MB / 0.6442 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5339, allocations: 0 / 0.6442 GB, free: 1.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.5344, allocations: 95.88 kB / 0.6443 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.5344, allocations: 4 kB / 0.6443 GB, free: 1.367 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.5344, allocations: 11.98 kB / 0.6443 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005451/0.535, allocations: 1.169 MB / 0.6455 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.535, allocations: 0 / 0.6455 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.5355, allocations: 361.9 kB / 0.6458 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.5356, allocations: 116.8 kB / 0.6459 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.5357, allocations: 12.86 kB / 0.6459 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.536, allocations: 12 kB / 0.6459 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.536, allocations: 23.91 kB / 0.646 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.5361, allocations: 23.98 kB / 0.646 GB, free: 15.55 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001656/0.5362, allocations: 176.4 kB / 0.6462 GB, free: 15.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5363, allocations: 0 / 0.6462 GB, free: 15.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001621/0.5379, allocations: 495.6 kB / 0.6466 GB, free: 14.9 MB / 494.1 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.002068/0.54, allocations: 0.7394 MB / 0.6473 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009551/0.5409, allocations: 385.2 kB / 0.6477 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.5409, allocations: 0 / 0.6477 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004007/0.5414, allocations: 143.8 kB / 0.6479 GB, free: 13.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008349/0.5422, allocations: 129.8 kB / 0.648 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008371/0.5506, allocations: 5.439 MB / 0.6533 GB, free: 8.035 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.551, allocations: 0.7697 MB / 0.654 GB, free: 7.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.5513, allocations: 87.38 kB / 0.6541 GB, free: 7.152 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5513, allocations: 0 / 0.6541 GB, free: 7.152 MB / 494.1 MB Notification: Performance of Templates: time 0.01914/0.5704, allocations: 13.52 MB / 0.6673 GB, free: 9.668 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches