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.001736/0.001736, allocations: 186.7 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001151/0.001151, allocations: 90.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2844/0.2844, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004733, allocations: 16 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1252, allocations: 58.84 MB / 490.2 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.04147/0.1667, allocations: 22.57 MB / 0.5008 GB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004804/0.1716, allocations: 2.58 MB / 0.5033 GB, free: 132 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.1719, allocations: 0 / 0.5033 GB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1722, allocations: 43.77 kB / 0.5033 GB, free: 88 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002441/0.1747, allocations: 0.5958 MB / 0.5039 GB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006115/0.1753, allocations: 119.8 kB / 0.504 GB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006908/0.176, allocations: 259.4 kB / 0.5043 GB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.234e-05/0.1761, allocations: 9.688 kB / 0.5043 GB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4321/0.6082, allocations: 22.23 MB / 0.526 GB, free: 22.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004079/0.6086, allocations: 135.9 kB / 0.5261 GB, free: 22.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.35e-05/0.6087, allocations: 5.656 kB / 0.5261 GB, free: 22.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01672/0.6254, allocations: 5.594 MB / 0.5316 GB, free: 22.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.6256, allocations: 47.31 kB / 0.5316 GB, free: 22.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.6257, allocations: 61.77 kB / 0.5317 GB, free: 22.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009294/0.6266, allocations: 289.4 kB / 0.532 GB, free: 22.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6267, allocations: 0 / 0.532 GB, free: 22.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6267, allocations: 0 / 0.532 GB, free: 22.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.6267, allocations: 0 / 0.532 GB, free: 22.26 MB / 362.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.001401/0.6281, allocations: 0.5611 MB / 0.5325 GB, free: 21.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.6282, allocations: 11.98 kB / 0.5325 GB, free: 21.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.6284, allocations: 24.58 kB / 0.5325 GB, free: 21.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003098/0.6287, allocations: 221.4 kB / 0.5328 GB, free: 21.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.6288, allocations: 121.8 kB / 0.5329 GB, free: 21.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.6289, allocations: 22.98 kB / 0.5329 GB, free: 21.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006931/0.6296, allocations: 326 kB / 0.5332 GB, free: 21.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.6296, allocations: 0 / 0.5332 GB, free: 21.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.6297, allocations: 13.2 kB / 0.5332 GB, free: 21.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.263e-05/0.6297, allocations: 3.344 kB / 0.5332 GB, free: 21.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.631, allocations: 0.7431 MB / 0.5339 GB, free: 21.38 MB / 362.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.00189/0.6329, allocations: 1.35 MB / 0.5353 GB, free: 20.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/0.6334, allocations: 154.9 kB / 0.5354 GB, free: 20.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003112/0.6365, allocations: 2.874 MB / 0.5382 GB, free: 17.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.6366, allocations: 33.41 kB / 0.5382 GB, free: 17.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.715e-06/0.6366, allocations: 0 / 0.5382 GB, free: 17.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004597/0.6371, allocations: 137.9 kB / 0.5384 GB, free: 17.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.6371, allocations: 54.64 kB / 0.5384 GB, free: 17.31 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.6374, allocations: 201.5 kB / 0.5386 GB, free: 17.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.6374, allocations: 29.98 kB / 0.5387 GB, free: 17.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.6375, allocations: 277.8 kB / 0.5389 GB, free: 16.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.6376, allocations: 59.61 kB / 0.539 GB, free: 16.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.6376, allocations: 10 kB / 0.539 GB, free: 16.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.142e-05/0.6377, allocations: 326.3 kB / 0.5393 GB, free: 16.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.6379, allocations: 49.06 kB / 0.5393 GB, free: 16.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.6381, allocations: 320.5 kB / 0.5396 GB, free: 16.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.6384, allocations: 105.2 kB / 0.5397 GB, free: 16.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.6384, allocations: 2.656 kB / 0.5397 GB, free: 16.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007822/0.6392, allocations: 375.4 kB / 0.5401 GB, free: 16.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.6392, allocations: 7.875 kB / 0.5401 GB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.6392, allocations: 7.875 kB / 0.5401 GB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.235e-05/0.6393, allocations: 15.75 kB / 0.5401 GB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.6398, allocations: 101.9 kB / 0.5402 GB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.955e-05/0.6398, allocations: 14.88 kB / 0.5402 GB, free: 16.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003831/0.6402, allocations: 58.84 kB / 0.5403 GB, free: 16.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.6402, allocations: 27.7 kB / 0.5403 GB, free: 16.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001537/0.6404, allocations: 153 kB / 0.5405 GB, free: 16.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.6405, allocations: 23.67 kB / 0.5405 GB, free: 16.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.641, allocations: 187.2 kB / 0.5407 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.641, allocations: 12.92 kB / 0.5407 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.641, allocations: 0 / 0.5407 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.6411, allocations: 0 / 0.5407 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.6417, allocations: 452.5 kB / 0.5411 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.6418, allocations: 2.594 kB / 0.5411 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.6419, allocations: 18.39 kB / 0.5411 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.6419, allocations: 6.344 kB / 0.5411 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.6419, allocations: 2.344 kB / 0.5412 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.642, allocations: 0 / 0.5412 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.642, allocations: 2.344 kB / 0.5412 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.6422, allocations: 271.9 kB / 0.5414 GB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.6424, allocations: 115.5 kB / 0.5415 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.6424, allocations: 9.891 kB / 0.5415 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.6427, allocations: 4.906 kB / 0.5415 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.6427, allocations: 23.39 kB / 0.5416 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.6428, allocations: 5.938 kB / 0.5416 GB, free: 15.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.6429, allocations: 146.7 kB / 0.5417 GB, free: 15.15 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6429, allocations: 0 / 0.5417 GB, free: 15.15 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008072/0.6437, allocations: 103.2 kB / 0.5418 GB, free: 15.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * 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.0003461/0.6441, allocations: 169.4 kB / 0.542 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004379/0.6445, allocations: 173.9 kB / 0.5421 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.6446, allocations: 0 / 0.5421 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.615e-05/0.6447, allocations: 34.33 kB / 0.5422 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005803/0.6452, allocations: 46.88 kB / 0.5422 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008567/0.6461, allocations: 0.5406 MB / 0.5427 GB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.6463, allocations: 0.7383 MB / 0.5435 GB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.316e-05/0.6464, allocations: 27.12 kB / 0.5435 GB, free: 14 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6464, allocations: 0 / 0.5435 GB, free: 14 MB / 362.7 MB Notification: Performance of Templates: time 0.008348/0.6548, allocations: 3.599 MB / 0.547 GB, free: 12.88 MB / 362.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/jenkins1/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