Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 172.8 kB / 16.72 MB, free: 5.082 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.213/1.213, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0006797/0.0006797, allocations: 92.67 kB / 271.2 MB, free: 8.242 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.2874/0.2874, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003762, allocations: 8 kB / 432 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1027, allocations: 58.86 MB / 490.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.00411/0.1068, allocations: 4.065 MB / 494.9 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003478/0.1103, allocations: 3.713 MB / 498.6 MB, free: 3.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.1104, allocations: 4 kB / 498.6 MB, free: 3.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.1106, allocations: 39.73 kB / 498.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001324/0.112, allocations: 0.6179 MB / 499.3 MB, free: 2.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.1123, allocations: 131.7 kB / 499.4 MB, free: 2.301 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004617/0.1128, allocations: 398.1 kB / 499.8 MB, free: 1.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.831e-05/0.1128, allocations: 13.67 kB / 499.8 MB, free: 1.895 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.113, allocations: 135.5 kB / 499.9 MB, free: 1.762 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.1132, allocations: 147.5 kB / 0.4883 GB, free: 1.617 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.1133, allocations: 8 kB / 0.4884 GB, free: 1.609 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008371/0.1141, allocations: 427.3 kB / 0.4888 GB, free: 1.191 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.993e-05/0.1142, allocations: 47.75 kB / 0.4888 GB, free: 1.145 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1143, allocations: 121.3 kB / 0.4889 GB, free: 1.02 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.1147, allocations: 315.7 kB / 0.4892 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1147, allocations: 3.938 kB / 0.4892 GB, free: 0.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1147, allocations: 0 / 0.4892 GB, free: 0.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1147, allocations: 0 / 0.4892 GB, free: 0.707 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.0009235/0.1157, allocations: 0.5578 MB / 0.4898 GB, free: 104 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1157, allocations: 8.031 kB / 0.4898 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.1158, allocations: 28.66 kB / 0.4898 GB, free: 68 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1697/0.2855, allocations: 218.4 kB / 0.49 GB, free: 43.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.2857, allocations: 125.4 kB / 0.4901 GB, free: 43.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.2857, allocations: 24.03 kB / 0.4902 GB, free: 43.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.2862, allocations: 326 kB / 0.4905 GB, free: 43.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.2862, allocations: 3.469 kB / 0.4905 GB, free: 43.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.829e-05/0.2862, allocations: 9.594 kB / 0.4905 GB, free: 43.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.2862, allocations: 10.94 kB / 0.4905 GB, free: 43.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.287, allocations: 0.7386 MB / 0.4912 GB, free: 43.35 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.001126/0.2882, allocations: 1.307 MB / 0.4925 GB, free: 42.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.2885, allocations: 158.2 kB / 0.4926 GB, free: 42.32 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.2886, allocations: 83.66 kB / 0.4927 GB, free: 42.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001919/0.2906, allocations: 2.81 MB / 0.4955 GB, free: 39.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.2906, allocations: 36.25 kB / 0.4955 GB, free: 39.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 1.754e-06/0.2906, allocations: 3.438 kB / 0.4955 GB, free: 39.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002488/0.2909, allocations: 112.8 kB / 0.4956 GB, free: 39.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.2909, allocations: 53.16 kB / 0.4957 GB, free: 39.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.2911, allocations: 224.2 kB / 0.4959 GB, free: 39.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2911, allocations: 31.14 kB / 0.4959 GB, free: 39.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.764e-05/0.2912, allocations: 212.9 kB / 0.4961 GB, free: 38.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.2912, allocations: 43.72 kB / 0.4961 GB, free: 38.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.2913, allocations: 12.28 kB / 0.4962 GB, free: 38.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.419e-05/0.2913, allocations: 333.4 kB / 0.4965 GB, free: 38.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.191e-05/0.2914, allocations: 46.41 kB / 0.4965 GB, free: 38.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001843/0.2916, allocations: 337.7 kB / 0.4968 GB, free: 38.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.2919, allocations: 452.2 kB / 0.4973 GB, free: 37.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.2919, allocations: 3.375 kB / 0.4973 GB, free: 37.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005129/0.2924, allocations: 376.7 kB / 0.4976 GB, free: 37.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2925, allocations: 11.47 kB / 0.4976 GB, free: 37.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/0.2925, allocations: 12.38 kB / 0.4977 GB, free: 37.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.2925, allocations: 14.69 kB / 0.4977 GB, free: 37.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.2928, allocations: 97.61 kB / 0.4978 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.2928, allocations: 21.05 kB / 0.4978 GB, free: 37.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.293, allocations: 60.64 kB / 0.4978 GB, free: 37.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.125e-05/0.2931, allocations: 32.5 kB / 0.4979 GB, free: 37.66 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 9.343e-05/0.2932, allocations: 153.8 kB / 0.498 GB, free: 37.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.2932, allocations: 20.62 kB / 0.498 GB, free: 37.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.2935, allocations: 148.9 kB / 0.4982 GB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.2935, allocations: 1.906 kB / 0.4982 GB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.2935, allocations: 0 / 0.4982 GB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.2935, allocations: 1.859 kB / 0.4982 GB, free: 37.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003962/0.2939, allocations: 407.3 kB / 0.4986 GB, free: 37.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2939, allocations: 1.969 kB / 0.4986 GB, free: 37.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.59e-05/0.294, allocations: 17.05 kB / 0.4986 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.294, allocations: 1.031 kB / 0.4986 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.294, allocations: 9.125 kB / 0.4986 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.294, allocations: 1.875 kB / 0.4986 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.294, allocations: 2.656 kB / 0.4986 GB, free: 37.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.2942, allocations: 205.5 kB / 0.4988 GB, free: 36.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.2942, allocations: 107.5 kB / 0.4989 GB, free: 36.83 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.2943, allocations: 5.969 kB / 0.4989 GB, free: 36.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.2944, allocations: 6.188 kB / 0.4989 GB, free: 36.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.675e-05/0.2945, allocations: 9.75 kB / 0.4989 GB, free: 36.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.2945, allocations: 5.938 kB / 0.4989 GB, free: 36.83 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.2946, allocations: 155 kB / 0.4991 GB, free: 36.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2946, allocations: 0 / 0.4991 GB, free: 36.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000462/0.2951, allocations: 96.66 kB / 0.4992 GB, free: 36.74 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.0003056/0.2954, allocations: 166.2 kB / 0.4993 GB, free: 36.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.2956, allocations: 163.6 kB / 0.4995 GB, free: 36.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.2957, allocations: 0 / 0.4995 GB, free: 36.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.2957, allocations: 29.56 kB / 0.4995 GB, free: 36.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003973/0.2961, allocations: 39.78 kB / 0.4996 GB, free: 36.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008883/0.297, allocations: 0.666 MB / 0.5002 GB, free: 36.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001587/0.2972, allocations: 0.724 MB / 0.5009 GB, free: 35.56 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.2972, allocations: 31.23 kB / 0.5009 GB, free: 35.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2972, allocations: 0 / 0.5009 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Templates: time 0.004583/0.3018, allocations: 3.23 MB / 0.5041 GB, free: 35.23 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches