Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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 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 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 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.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_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_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008709/0.0008713, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000997/0.0009972, allocations: 182.2 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4391/0.4391, allocations: 43.57 MB / 315 MB, free: 8.801 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005566/0.0005567, allocations: 16 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.3219/0.4776, allocations: 27.8 MB / 471.2 MB, free: 33.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002778/0.4805, allocations: 2.99 MB / 474.2 MB, free: 31.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.295e-05/0.4806, allocations: 0 / 474.2 MB, free: 31.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.4809, allocations: 45.52 kB / 474.3 MB, free: 31.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.4825, allocations: 0.6544 MB / 474.9 MB, free: 31.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.4828, allocations: 129 kB / 475.1 MB, free: 31.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004854/0.4833, allocations: 448.4 kB / 475.5 MB, free: 31.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.4833, allocations: 11.97 kB / 475.5 MB, free: 31.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.03429/0.5176, allocations: 14.42 MB / 489.9 MB, free: 25.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004724/0.5182, allocations: 153.3 kB / 490.1 MB, free: 25.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.5182, allocations: 6.219 kB / 490.1 MB, free: 25.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00778/0.526, allocations: 3.424 MB / 493.5 MB, free: 24.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.5261, allocations: 42.17 kB / 493.6 MB, free: 24.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.5263, allocations: 136.6 kB / 493.7 MB, free: 24.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009566/0.5273, allocations: 466.5 kB / 494.1 MB, free: 23.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.5273, allocations: 0.6094 kB / 494.1 MB, free: 23.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5273, allocations: 0 / 494.1 MB, free: 23.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.5273, allocations: 0 / 494.1 MB, free: 23.98 MB / 382.1 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.001079/0.5284, allocations: 0.5517 MB / 494.7 MB, free: 23.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5285, allocations: 9.516 kB / 494.7 MB, free: 23.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.5286, allocations: 24.88 kB / 494.7 MB, free: 23.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.5289, allocations: 227.8 kB / 495 MB, free: 23.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.529, allocations: 128.4 kB / 495.1 MB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.529, allocations: 23.03 kB / 495.1 MB, free: 23.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/0.5296, allocations: 326.7 kB / 495.4 MB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.5296, allocations: 1 kB / 495.4 MB, free: 22.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.5296, allocations: 7.188 kB / 495.4 MB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.509e-05/0.5297, allocations: 11.16 kB / 495.4 MB, free: 22.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.5307, allocations: 0.7383 MB / 496.2 MB, free: 22.82 MB / 382.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.001303/0.532, allocations: 1.308 MB / 497.5 MB, free: 21.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003436/0.5324, allocations: 160.4 kB / 497.6 MB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.5326, allocations: 95.19 kB / 497.7 MB, free: 21.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001997/0.5346, allocations: 2.816 MB / 0.4888 GB, free: 18.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.5346, allocations: 32.47 kB / 0.4888 GB, free: 18.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.503e-06/0.5346, allocations: 0 / 0.4888 GB, free: 18.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00029/0.5349, allocations: 119.7 kB / 0.489 GB, free: 18.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.5349, allocations: 52.81 kB / 0.489 GB, free: 18.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.5351, allocations: 223.6 kB / 0.4892 GB, free: 18.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.5352, allocations: 26.61 kB / 0.4893 GB, free: 18.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.5353, allocations: 218 kB / 0.4895 GB, free: 18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.5353, allocations: 48.12 kB / 0.4895 GB, free: 17.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.5354, allocations: 37.61 kB / 0.4895 GB, free: 17.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.5355, allocations: 329 kB / 0.4899 GB, free: 17.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.5356, allocations: 45.55 kB / 0.4899 GB, free: 17.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002331/0.5358, allocations: 352 kB / 0.4902 GB, free: 17.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.5362, allocations: 445.9 kB / 0.4907 GB, free: 16.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.5362, allocations: 3.094 kB / 0.4907 GB, free: 16.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006243/0.5369, allocations: 380.1 kB / 0.491 GB, free: 16.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.5369, allocations: 9 kB / 0.491 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.5369, allocations: 10.78 kB / 0.491 GB, free: 16.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.5369, allocations: 19.03 kB / 0.4911 GB, free: 16.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.5372, allocations: 101.1 kB / 0.4912 GB, free: 16.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.5373, allocations: 19.33 kB / 0.4912 GB, free: 16.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.5375, allocations: 56.97 kB / 0.4912 GB, free: 16.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.376e-05/0.5376, allocations: 28.36 kB / 0.4913 GB, free: 16.46 MB / 382.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 (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001393/0.5378, allocations: 152.8 kB / 0.4914 GB, free: 16.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.84e-05/0.5378, allocations: 18.81 kB / 0.4914 GB, free: 16.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.5382, allocations: 142 kB / 0.4916 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.501e-05/0.5382, allocations: 6.516 kB / 0.4916 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5382, allocations: 0 / 0.4916 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.5382, allocations: 3.094 kB / 0.4916 GB, free: 16.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.5387, allocations: 417.4 kB / 0.492 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5387, allocations: 5.203 kB / 0.492 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.015e-05/0.5387, allocations: 17.36 kB / 0.492 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5387, allocations: 1.062 kB / 0.492 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.5388, allocations: 2.094 kB / 0.492 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.788e-06/0.5388, allocations: 5.5 kB / 0.492 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5388, allocations: 2.125 kB / 0.492 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.539, allocations: 209.7 kB / 0.4922 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.246e-05/0.539, allocations: 106.3 kB / 0.4923 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.5391, allocations: 2.953 kB / 0.4923 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.5392, allocations: 3.875 kB / 0.4923 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.5393, allocations: 14.7 kB / 0.4923 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.5393, allocations: 7 kB / 0.4923 GB, free: 15.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000128/0.5394, allocations: 157.1 kB / 0.4925 GB, free: 15.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5394, allocations: 0 / 0.4925 GB, free: 15.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005476/0.54, allocations: 91.8 kB / 0.4926 GB, free: 15.4 MB / 382.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 (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000339/0.5403, allocations: 157.5 kB / 0.4927 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003113/0.5406, allocations: 170.9 kB / 0.4929 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5406, allocations: 0 / 0.4929 GB, free: 15.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.055e-05/0.5407, allocations: 26 kB / 0.4929 GB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.5412, allocations: 46.05 kB / 0.4929 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.5422, allocations: 0.6524 MB / 0.4936 GB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.5424, allocations: 0.7267 MB / 0.4943 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002409/0.5427, allocations: 56.11 kB / 0.4943 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.5427, allocations: 28 kB / 0.4944 GB, free: 14.08 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5427, allocations: 1.25 kB / 0.4944 GB, free: 14.08 MB / 382.1 MB Notification: Performance of Templates: time 0.008499/0.5512, allocations: 3.016 MB / 0.4973 GB, free: 13.72 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches