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.002121/0.002121, allocations: 179.2 kB / 16.41 MB, free: 5.707 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.621/1.621, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0007279/0.0007279, allocations: 93.27 kB / 270.9 MB, free: 8.352 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.3208/0.3208, allocations: 43.56 MB / 362.7 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003911, allocations: 8 kB / 431.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.2292/0.3463, allocations: 24.83 MB / 0.503 GB, free: 33.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.3487, allocations: 2.743 MB / 0.5057 GB, free: 31.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.96e-05/0.3488, allocations: 1.375 kB / 0.5057 GB, free: 31.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.3491, allocations: 43.62 kB / 0.5057 GB, free: 31.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.3504, allocations: 0.5692 MB / 0.5063 GB, free: 30.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.3507, allocations: 138.1 kB / 0.5064 GB, free: 30.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.3511, allocations: 385.4 kB / 0.5068 GB, free: 30.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.3511, allocations: 17.98 kB / 0.5068 GB, free: 30.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0345/0.3856, allocations: 22.42 MB / 0.5287 GB, free: 27.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.3861, allocations: 154.8 kB / 0.5288 GB, free: 27.04 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.688e-05/0.3862, allocations: 10.56 kB / 0.5288 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008807/0.395, allocations: 5.593 MB / 0.5343 GB, free: 26.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.662e-05/0.3951, allocations: 42.45 kB / 0.5343 GB, free: 26.15 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.3952, allocations: 61.64 kB / 0.5344 GB, free: 26.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.3959, allocations: 295.4 kB / 0.5347 GB, free: 25.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3959, allocations: 0 / 0.5347 GB, free: 25.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3959, allocations: 0 / 0.5347 GB, free: 25.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.3959, allocations: 0 / 0.5347 GB, free: 25.86 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.001014/0.3969, allocations: 0.5506 MB / 0.5352 GB, free: 25.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.397, allocations: 12.03 kB / 0.5352 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.3971, allocations: 23.81 kB / 0.5353 GB, free: 25.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002142/0.3973, allocations: 227.4 kB / 0.5355 GB, free: 25.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/0.3974, allocations: 122.6 kB / 0.5356 GB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.632e-05/0.3975, allocations: 27.98 kB / 0.5356 GB, free: 24.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.3979, allocations: 323.2 kB / 0.5359 GB, free: 24.58 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.3979, allocations: 0 / 0.5359 GB, free: 24.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.398, allocations: 12 kB / 0.5359 GB, free: 24.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.398, allocations: 8 kB / 0.5359 GB, free: 24.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005727/0.3986, allocations: 0.7435 MB / 0.5367 GB, free: 24.03 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.001003/0.3996, allocations: 1.299 MB / 0.5379 GB, free: 22.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.3999, allocations: 167.9 kB / 0.5381 GB, free: 22.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.4, allocations: 83.59 kB / 0.5382 GB, free: 22.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/0.4017, allocations: 2.81 MB / 0.5409 GB, free: 19.28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.4018, allocations: 34.56 kB / 0.541 GB, free: 19.24 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.4018, allocations: 0 / 0.541 GB, free: 19.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002598/0.4021, allocations: 107.8 kB / 0.5411 GB, free: 19.14 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.4021, allocations: 59.36 kB / 0.5411 GB, free: 19.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.4023, allocations: 219 kB / 0.5413 GB, free: 18.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4023, allocations: 30.27 kB / 0.5413 GB, free: 18.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.4024, allocations: 219 kB / 0.5416 GB, free: 18.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.4024, allocations: 48.52 kB / 0.5416 GB, free: 18.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.127e-05/0.4024, allocations: 8 kB / 0.5416 GB, free: 18.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.472e-05/0.4025, allocations: 336.5 kB / 0.5419 GB, free: 18.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.376e-05/0.4026, allocations: 51.98 kB / 0.542 GB, free: 18.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.4027, allocations: 337.2 kB / 0.5423 GB, free: 17.74 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4029, allocations: 106.5 kB / 0.5424 GB, free: 17.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.4029, allocations: 8 kB / 0.5424 GB, free: 17.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000463/0.4034, allocations: 379 kB / 0.5428 GB, free: 17.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.4034, allocations: 14.3 kB / 0.5428 GB, free: 17.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.4034, allocations: 12.55 kB / 0.5428 GB, free: 17.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.4034, allocations: 16 kB / 0.5428 GB, free: 17.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.4037, allocations: 97.14 kB / 0.5429 GB, free: 17.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.4037, allocations: 27.77 kB / 0.5429 GB, free: 17.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.4039, allocations: 55.44 kB / 0.543 GB, free: 17.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.404, allocations: 28 kB / 0.543 GB, free: 17.06 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.0001114/0.4041, allocations: 157.3 kB / 0.5432 GB, free: 16.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.123e-05/0.4041, allocations: 19.81 kB / 0.5432 GB, free: 16.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002509/0.4044, allocations: 145.8 kB / 0.5433 GB, free: 16.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.4044, allocations: 0.875 kB / 0.5433 GB, free: 16.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4044, allocations: 0 / 0.5433 GB, free: 16.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4044, allocations: 7.375 kB / 0.5433 GB, free: 16.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.4048, allocations: 402.8 kB / 0.5437 GB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4048, allocations: 0 / 0.5437 GB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.521e-05/0.4049, allocations: 12 kB / 0.5437 GB, free: 16.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.4049, allocations: 4.094 kB / 0.5437 GB, free: 16.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.4049, allocations: 15.28 kB / 0.5437 GB, free: 16.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.093e-06/0.4049, allocations: 0 / 0.5437 GB, free: 16.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.4049, allocations: 0 / 0.5437 GB, free: 16.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.405, allocations: 205.2 kB / 0.5439 GB, free: 16.06 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.4051, allocations: 111.6 kB / 0.544 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.854e-05/0.4052, allocations: 0 / 0.544 GB, free: 15.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.4053, allocations: 15.27 kB / 0.5441 GB, free: 15.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.4053, allocations: 15.25 kB / 0.5441 GB, free: 15.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.998e-06/0.4053, allocations: 7.188 kB / 0.5441 GB, free: 15.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.933e-05/0.4054, allocations: 155.9 kB / 0.5442 GB, free: 15.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.4054, allocations: 0 / 0.5442 GB, free: 15.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004744/0.4059, allocations: 91.94 kB / 0.5443 GB, free: 15.68 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.0002097/0.4061, allocations: 152.4 kB / 0.5445 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002619/0.4064, allocations: 169.8 kB / 0.5446 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4064, allocations: 256 / 0.5446 GB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.297e-05/0.4065, allocations: 20 kB / 0.5446 GB, free: 15.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003991/0.4069, allocations: 46.3 kB / 0.5447 GB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.4078, allocations: 0.6573 MB / 0.5453 GB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/0.4079, allocations: 0.7299 MB / 0.546 GB, free: 14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.408, allocations: 26.67 kB / 0.5461 GB, free: 13.97 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.408, allocations: 0 / 0.5461 GB, free: 13.97 MB / 378.7 MB Notification: Performance of Templates: time 0.006066/0.414, allocations: 3.215 MB / 0.5492 GB, free: 12.05 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