Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.LinearWater_pT_Ambient,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009943/0.0009942, 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.247/1.247, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007688/0.0007688, allocations: 92.86 kB / 271.2 MB, free: 8.258 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.3096/0.3096, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004262, allocations: 20 kB / 432 MB, free: 5.609 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 58.84 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2123/0.3146, allocations: 24.85 MB / 0.5036 GB, free: 32.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.317, allocations: 2.743 MB / 0.5063 GB, free: 30.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.3172, allocations: 1.25 kB / 0.5063 GB, free: 30.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002467/0.3174, allocations: 43.75 kB / 0.5063 GB, free: 30.92 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001557/0.319, allocations: 0.6256 MB / 0.5069 GB, free: 30.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003018/0.3193, allocations: 125.8 kB / 0.507 GB, free: 30.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004287/0.3198, allocations: 391.1 kB / 0.5074 GB, free: 30.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.3198, allocations: 13.48 kB / 0.5074 GB, free: 30.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03982/0.3596, allocations: 22.44 MB / 0.5293 GB, free: 26.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.3601, allocations: 148.6 kB / 0.5295 GB, free: 26.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.3601, allocations: 5.781 kB / 0.5295 GB, free: 26.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01066/0.3708, allocations: 5.693 MB / 0.535 GB, free: 25.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.371, allocations: 49.91 kB / 0.5351 GB, free: 25.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.3711, allocations: 120.3 kB / 0.5352 GB, free: 25.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005441/0.3717, allocations: 322.9 kB / 0.5355 GB, free: 25.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3717, allocations: 4 kB / 0.5355 GB, free: 25.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3717, allocations: 0 / 0.5355 GB, free: 25.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3717, allocations: 0 / 0.5355 GB, free: 25.29 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009677/0.3727, allocations: 0.5515 MB / 0.536 GB, free: 24.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3728, allocations: 12.03 kB / 0.5361 GB, free: 24.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/0.3729, allocations: 28.17 kB / 0.5361 GB, free: 24.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.3731, allocations: 226.5 kB / 0.5363 GB, free: 24.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.3732, allocations: 127.4 kB / 0.5364 GB, free: 24.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.3733, allocations: 24.31 kB / 0.5364 GB, free: 24.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.3737, allocations: 328.9 kB / 0.5368 GB, free: 23.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3737, allocations: 0 / 0.5368 GB, free: 23.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.3737, allocations: 12 kB / 0.5368 GB, free: 23.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.3737, allocations: 7.562 kB / 0.5368 GB, free: 23.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.3744, allocations: 0.7425 MB / 0.5375 GB, free: 23.45 MB / 378.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.001089/0.3755, allocations: 1.297 MB / 0.5388 GB, free: 22.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.3758, allocations: 160.1 kB / 0.5389 GB, free: 21.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.3759, allocations: 92.38 kB / 0.539 GB, free: 21.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001824/0.3778, allocations: 2.813 MB / 0.5418 GB, free: 18.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.3778, allocations: 38.56 kB / 0.5418 GB, free: 18.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3778, allocations: 4 kB / 0.5418 GB, free: 18.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.000241/0.378, allocations: 111.9 kB / 0.5419 GB, free: 18.54 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.3781, allocations: 51.41 kB / 0.542 GB, free: 18.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.3782, allocations: 219.2 kB / 0.5422 GB, free: 18.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3783, allocations: 33.7 kB / 0.5422 GB, free: 18.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.3783, allocations: 211.3 kB / 0.5424 GB, free: 18.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3784, allocations: 50.06 kB / 0.5424 GB, free: 17.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/0.3784, allocations: 15.94 kB / 0.5425 GB, free: 17.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.76e-05/0.3785, allocations: 330 kB / 0.5428 GB, free: 17.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.453e-05/0.3785, allocations: 42.11 kB / 0.5428 GB, free: 17.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001754/0.3787, allocations: 343.9 kB / 0.5431 GB, free: 17.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.379, allocations: 438.5 kB / 0.5436 GB, free: 16.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.379, allocations: 4 kB / 0.5436 GB, free: 16.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004234/0.3794, allocations: 379 kB / 0.5439 GB, free: 16.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.3795, allocations: 8.625 kB / 0.5439 GB, free: 16.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.3795, allocations: 12 kB / 0.5439 GB, free: 16.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.3795, allocations: 16.72 kB / 0.544 GB, free: 16.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.3797, allocations: 104.4 kB / 0.5441 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.3797, allocations: 19.94 kB / 0.5441 GB, free: 16.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.38, allocations: 59.38 kB / 0.5441 GB, free: 16.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.38, allocations: 31.14 kB / 0.5442 GB, free: 16.01 MB / 378.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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.3801, allocations: 145.7 kB / 0.5443 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.3801, allocations: 15.81 kB / 0.5443 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.3804, allocations: 148.7 kB / 0.5445 GB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.3804, allocations: 7.938 kB / 0.5445 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3804, allocations: 96 / 0.5445 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3804, allocations: 3.984 kB / 0.5445 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000363/0.3808, allocations: 417.4 kB / 0.5449 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3808, allocations: 0 / 0.5449 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.3809, allocations: 14.02 kB / 0.5449 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3809, allocations: 0 / 0.5449 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3809, allocations: 5.188 kB / 0.5449 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3809, allocations: 4.656 kB / 0.5449 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3809, allocations: 0 / 0.5449 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.381, allocations: 216.1 kB / 0.5451 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.3811, allocations: 108.4 kB / 0.5452 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.3811, allocations: 4 kB / 0.5452 GB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.3813, allocations: 4 kB / 0.5452 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.3813, allocations: 15.08 kB / 0.5452 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.3813, allocations: 5.062 kB / 0.5452 GB, free: 14.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.932e-05/0.3814, allocations: 152.5 kB / 0.5454 GB, free: 14.72 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3814, allocations: 0 / 0.5454 GB, free: 14.72 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004361/0.3819, allocations: 99.22 kB / 0.5455 GB, free: 14.63 MB / 378.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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002639/0.3821, allocations: 149.3 kB / 0.5456 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.3824, allocations: 172.3 kB / 0.5458 GB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3824, allocations: 0 / 0.5458 GB, free: 14.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.3824, allocations: 23.08 kB / 0.5458 GB, free: 14.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.3828, allocations: 49.89 kB / 0.5459 GB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008106/0.3837, allocations: 0.6595 MB / 0.5465 GB, free: 13.67 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.3838, allocations: 0.7215 MB / 0.5472 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.41e-05/0.3839, allocations: 34.7 kB / 0.5472 GB, free: 12.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3839, allocations: 0 / 0.5472 GB, free: 12.91 MB / 378.7 MB Notification: Performance of Templates: time 0.00567/0.3895, allocations: 3.271 MB / 0.5504 GB, free: 10.95 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches