Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009387/0.0009389, allocations: 175.1 kB / 16.72 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.4 MB / 222.9 MB, free: 8.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006882/0.0006882, allocations: 90.36 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3065/0.3065, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 12 kB / 432 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0946/0.09496, allocations: 58.85 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.2849/0.3799, allocations: 139.2 MB / 0.6153 GB, free: 11.45 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01286/0.3928, allocations: 12.26 MB / 0.6272 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.3931, allocations: 0 / 0.6272 GB, free: 15.21 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3934, allocations: 63.69 kB / 0.6273 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006908/0.4003, allocations: 2.889 MB / 0.6301 GB, free: 12.25 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.4006, allocations: 144.7 kB / 0.6303 GB, free: 12.12 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006488/0.4013, allocations: 0.6518 MB / 0.6309 GB, free: 11.46 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.145e-05/0.4014, allocations: 19.27 kB / 0.6309 GB, free: 11.45 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002802/0.4016, allocations: 215.2 kB / 0.6311 GB, free: 11.24 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006785/0.4023, allocations: 410.9 kB / 0.6315 GB, free: 10.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.54e-05/0.4024, allocations: 8 kB / 0.6315 GB, free: 10.83 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008129/0.4105, allocations: 5.359 MB / 0.6368 GB, free: 5.461 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.4107, allocations: 91.67 kB / 0.6368 GB, free: 5.371 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002019/0.4109, allocations: 173.1 kB / 0.637 GB, free: 5.195 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.4139, allocations: 1.768 MB / 0.6387 GB, free: 3.426 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4139, allocations: 0 / 0.6387 GB, free: 3.426 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4139, allocations: 0 / 0.6387 GB, free: 3.426 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.03e-06/0.4139, allocations: 0 / 0.6387 GB, free: 3.426 MB / 458.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.0024/0.4163, allocations: 1.049 MB / 0.6398 GB, free: 2.332 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4163, allocations: 12.03 kB / 0.6398 GB, free: 2.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.4165, allocations: 40.73 kB / 0.6398 GB, free: 2.281 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.4168, allocations: 250.6 kB / 0.6401 GB, free: 1.996 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.4169, allocations: 131.5 kB / 0.6402 GB, free: 1.844 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.417, allocations: 32 kB / 0.6402 GB, free: 1.812 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007078/0.4177, allocations: 0.5642 MB / 0.6408 GB, free: 1.219 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4177, allocations: 0 / 0.6408 GB, free: 1.219 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.814e-05/0.4178, allocations: 23.92 kB / 0.6408 GB, free: 1.195 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.281e-05/0.4178, allocations: 32.48 kB / 0.6408 GB, free: 1.164 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.4191, allocations: 1.255 MB / 0.642 GB, free: 15.91 MB / 474.7 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.002145/0.4212, allocations: 2.008 MB / 0.644 GB, free: 13.75 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006284/0.4219, allocations: 268 kB / 0.6443 GB, free: 13.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.4221, allocations: 114.9 kB / 0.6444 GB, free: 13.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003245/0.4253, allocations: 3.348 MB / 0.6476 GB, free: 9.477 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4254, allocations: 34.56 kB / 0.6477 GB, free: 9.434 MB / 474.7 MB Notification: Performance of pre-optimization done (n=42): time 2.274e-06/0.4254, allocations: 0 / 0.6477 GB, free: 9.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=44): time 0.001694/0.4271, allocations: 0.7415 MB / 0.6484 GB, free: 8.668 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/0.4271, allocations: 55.41 kB / 0.6484 GB, free: 8.602 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.4273, allocations: 194.3 kB / 0.6486 GB, free: 8.402 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/0.4273, allocations: 33.7 kB / 0.6487 GB, free: 8.363 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4274, allocations: 199.6 kB / 0.6488 GB, free: 8.164 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.4276, allocations: 149.8 kB / 0.649 GB, free: 8.016 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.4276, allocations: 16 kB / 0.649 GB, free: 8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4277, allocations: 334.8 kB / 0.6493 GB, free: 7.664 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000176/0.4279, allocations: 105.2 kB / 0.6494 GB, free: 7.559 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003423/0.4282, allocations: 413.4 kB / 0.6498 GB, free: 7.012 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005839/0.4288, allocations: 0.5785 MB / 0.6504 GB, free: 6.289 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.4288, allocations: 0 / 0.6504 GB, free: 6.289 MB / 474.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008149/0.4297, allocations: 0.5631 MB / 0.6509 GB, free: 5.719 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4297, allocations: 8 kB / 0.6509 GB, free: 5.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.4297, allocations: 16.83 kB / 0.651 GB, free: 5.695 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.4297, allocations: 12 kB / 0.651 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.4304, allocations: 203.7 kB / 0.6512 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005432/0.4309, allocations: 1.191 MB / 0.6523 GB, free: 4.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.4313, allocations: 36.08 kB / 0.6524 GB, free: 4.211 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.481e-05/0.4313, allocations: 59.98 kB / 0.6524 GB, free: 4.152 MB / 474.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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001711/0.4315, allocations: 183.5 kB / 0.6526 GB, free: 3.965 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/0.4316, allocations: 23.72 kB / 0.6526 GB, free: 3.941 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.4328, allocations: 0.6485 MB / 0.6533 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.4328, allocations: 7.938 kB / 0.6533 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4328, allocations: 0 / 0.6533 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4328, allocations: 7.984 kB / 0.6533 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008068/0.4336, allocations: 0.6452 MB / 0.6539 GB, free: 2.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4337, allocations: 3.938 kB / 0.6539 GB, free: 2.539 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.4341, allocations: 95.94 kB / 0.654 GB, free: 2.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.4341, allocations: 4 kB / 0.654 GB, free: 2.441 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.4341, allocations: 11.98 kB / 0.654 GB, free: 2.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000469/0.4346, allocations: 1.172 MB / 0.6552 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4346, allocations: 0 / 0.6552 GB, free: 1.211 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.435, allocations: 344.6 kB / 0.6555 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.4351, allocations: 144.9 kB / 0.6556 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.4352, allocations: 11.98 kB / 0.6556 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.4354, allocations: 15.91 kB / 0.6556 GB, free: 0.668 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.4355, allocations: 24.25 kB / 0.6557 GB, free: 0.6445 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.4355, allocations: 27.97 kB / 0.6557 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001333/0.4357, allocations: 168.5 kB / 0.6559 GB, free: 464 kB / 474.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4357, allocations: 0 / 0.6559 GB, free: 464 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.001387/0.4371, allocations: 0.5504 MB / 0.6564 GB, free: 15.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00188/0.439, allocations: 0.8713 MB / 0.6572 GB, free: 15.02 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007362/0.4397, allocations: 378 kB / 0.6576 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4397, allocations: 0.875 kB / 0.6576 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.4401, allocations: 152 kB / 0.6578 GB, free: 14.51 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.4407, allocations: 94.55 kB / 0.6578 GB, free: 14.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.4521, allocations: 8.482 MB / 0.6661 GB, free: 5.895 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.4524, allocations: 0.7699 MB / 0.6669 GB, free: 5.102 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.4527, allocations: 87.39 kB / 0.667 GB, free: 5.016 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4528, allocations: 0 / 0.667 GB, free: 5.016 MB / 490.7 MB Notification: Performance of Templates: time 0.17/0.6227, allocations: 14.37 MB / 0.681 GB, free: 146.7 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches