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.001544/0.001544, allocations: 110 kB / 17.86 MB, free: 5.504 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.001838/0.001838, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.496/1.496, allocations: 222.9 MB / 242.4 MB, free: 15.47 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.2093/0.2093, allocations: 44.18 MB / 336.8 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.2 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1283, allocations: 60.82 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3639/0.4923, allocations: 150 MB / 0.6047 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.505, allocations: 10.77 MB / 0.6152 GB, free: 404 kB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.5052, allocations: 7.938 kB / 0.6152 GB, free: 396 kB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.5056, allocations: 71.67 kB / 0.6153 GB, free: 324 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008144/0.5138, allocations: 2.677 MB / 0.6179 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.5142, allocations: 160.8 kB / 0.6181 GB, free: 13.48 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001016/0.5152, allocations: 0.7636 MB / 0.6188 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.5153, allocations: 12.41 kB / 0.6188 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005153/0.5158, allocations: 215.1 kB / 0.619 GB, free: 12.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009237/0.5168, allocations: 410.8 kB / 0.6194 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.5169, allocations: 8 kB / 0.6194 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008709/0.5256, allocations: 5.119 MB / 0.6244 GB, free: 6.949 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.5258, allocations: 95.67 kB / 0.6245 GB, free: 6.855 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.5261, allocations: 151.3 kB / 0.6247 GB, free: 6.707 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.5297, allocations: 1.665 MB / 0.6263 GB, free: 5.039 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5297, allocations: 0 / 0.6263 GB, free: 5.039 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5297, allocations: 3.938 kB / 0.6263 GB, free: 5.035 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.5297, allocations: 0 / 0.6263 GB, free: 5.035 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.002645/0.5324, allocations: 1.057 MB / 0.6273 GB, free: 3.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.5324, allocations: 8.031 kB / 0.6273 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.5326, allocations: 36.41 kB / 0.6274 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.5329, allocations: 246.6 kB / 0.6276 GB, free: 3.605 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.5331, allocations: 131.5 kB / 0.6277 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.5331, allocations: 31.98 kB / 0.6277 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008728/0.534, allocations: 0.5642 MB / 0.6283 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.534, allocations: 0 / 0.6283 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.5341, allocations: 19.94 kB / 0.6283 GB, free: 2.809 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.5341, allocations: 24.55 kB / 0.6283 GB, free: 2.785 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/0.5354, allocations: 1.255 MB / 0.6296 GB, free: 1.527 MB / 462.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.002467/0.5379, allocations: 1.98 MB / 0.6315 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.5386, allocations: 260.8 kB / 0.6317 GB, free: 15.14 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/0.5389, allocations: 118.1 kB / 0.6319 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003195/0.5421, allocations: 3.095 MB / 0.6349 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.5421, allocations: 30.56 kB / 0.6349 GB, free: 11.36 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.5421, allocations: 0 / 0.6349 GB, free: 11.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.00198/0.5441, allocations: 0.7191 MB / 0.6356 GB, free: 10.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.5442, allocations: 59.34 kB / 0.6357 GB, free: 10.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.5444, allocations: 198.3 kB / 0.6359 GB, free: 10.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.82e-05/0.5444, allocations: 33.7 kB / 0.6359 GB, free: 10.3 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5446, allocations: 195.8 kB / 0.6361 GB, free: 10.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.5447, allocations: 153.8 kB / 0.6362 GB, free: 9.949 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.5448, allocations: 134.1 kB / 0.6364 GB, free: 9.812 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.545, allocations: 338.8 kB / 0.6367 GB, free: 9.473 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001862/0.5452, allocations: 105.2 kB / 0.6368 GB, free: 9.371 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.5457, allocations: 417.3 kB / 0.6372 GB, free: 8.816 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.5465, allocations: 0.5768 MB / 0.6377 GB, free: 8.094 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.5465, allocations: 4 kB / 0.6377 GB, free: 8.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009227/0.5474, allocations: 0.5449 MB / 0.6383 GB, free: 7.539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5474, allocations: 8 kB / 0.6383 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.5475, allocations: 12 kB / 0.6383 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-05/0.5475, allocations: 19.94 kB / 0.6383 GB, free: 7.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.5482, allocations: 194.1 kB / 0.6385 GB, free: 7.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007105/0.5489, allocations: 1.195 MB / 0.6397 GB, free: 6.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00034/0.5493, allocations: 24 kB / 0.6397 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.5494, allocations: 56.17 kB / 0.6397 GB, free: 5.992 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.0002023/0.5496, allocations: 181.1 kB / 0.6399 GB, free: 5.809 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.5497, allocations: 35.62 kB / 0.6399 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.5509, allocations: 0.6357 MB / 0.6406 GB, free: 5.105 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/0.5509, allocations: 4 kB / 0.6406 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5509, allocations: 0 / 0.6406 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.5509, allocations: 3.984 kB / 0.6406 GB, free: 5.098 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.5521, allocations: 0.8246 MB / 0.6414 GB, free: 4.172 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.5521, allocations: 8.078 kB / 0.6414 GB, free: 4.164 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004984/0.5526, allocations: 99.86 kB / 0.6415 GB, free: 4.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.5527, allocations: 4 kB / 0.6415 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.5527, allocations: 8 kB / 0.6415 GB, free: 4.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005495/0.5532, allocations: 1.168 MB / 0.6426 GB, free: 2.84 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5533, allocations: 8.156 kB / 0.6426 GB, free: 2.832 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004693/0.5537, allocations: 353.7 kB / 0.643 GB, free: 2.461 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.5539, allocations: 120.8 kB / 0.6431 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.216e-05/0.5539, allocations: 11.94 kB / 0.6431 GB, free: 2.312 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002941/0.5542, allocations: 15.98 kB / 0.6431 GB, free: 2.297 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.5543, allocations: 31.84 kB / 0.6432 GB, free: 2.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.583e-05/0.5543, allocations: 12 kB / 0.6432 GB, free: 2.254 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.5545, allocations: 176.5 kB / 0.6433 GB, free: 2.082 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5545, allocations: 0 / 0.6433 GB, free: 2.082 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001627/0.5562, allocations: 491.6 kB / 0.6438 GB, free: 1.602 MB / 478.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.002544/0.5587, allocations: 0.7416 MB / 0.6445 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0009917/0.5597, allocations: 366.2 kB / 0.6449 GB, free: 0.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5597, allocations: 0 / 0.6449 GB, free: 0.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000403/0.5601, allocations: 151.8 kB / 0.645 GB, free: 360 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.5611, allocations: 129.2 kB / 0.6451 GB, free: 232 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008862/0.57, allocations: 5.548 MB / 0.6506 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.5704, allocations: 0.7737 MB / 0.6513 GB, free: 9.828 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/0.5707, allocations: 79.39 kB / 0.6514 GB, free: 9.754 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5708, allocations: 0 / 0.6514 GB, free: 9.754 MB / 494.1 MB Notification: Performance of Templates: time 0.02197/0.5927, allocations: 13.52 MB / 0.6646 GB, free: 12.27 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