Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001708, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008192/0.0008193, allocations: 108.6 kB / 295.2 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1869/0.1869, allocations: 44.84 MB / 392 MB, free: 9.309 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000233/0.0002331, allocations: 11.98 kB / 464.7 MB, free: 49.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09642, allocations: 62.95 MB / 0.5153 GB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.1953/0.2918, allocations: 4.056 MB / 0.5193 GB, free: 9.859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003131/0.295, allocations: 3.717 MB / 0.5229 GB, free: 8.539 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.887e-05/0.2951, allocations: 5.5 kB / 0.5229 GB, free: 8.535 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.2953, allocations: 45.33 kB / 0.523 GB, free: 8.512 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001146/0.2964, allocations: 0.5724 MB / 0.5235 GB, free: 8.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.2967, allocations: 123.5 kB / 0.5236 GB, free: 8.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.2972, allocations: 393.2 kB / 0.524 GB, free: 7.957 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.905e-05/0.2973, allocations: 10.5 kB / 0.524 GB, free: 7.957 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.2975, allocations: 143.8 kB / 0.5242 GB, free: 7.906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.2978, allocations: 152 kB / 0.5243 GB, free: 7.852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.2978, allocations: 6.031 kB / 0.5243 GB, free: 7.852 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007399/0.2986, allocations: 315.9 kB / 0.5246 GB, free: 7.77 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.2986, allocations: 50.69 kB / 0.5247 GB, free: 7.742 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.898e-05/0.2987, allocations: 59.16 kB / 0.5247 GB, free: 7.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.2992, allocations: 298.7 kB / 0.525 GB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2992, allocations: 0 / 0.525 GB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.2992, allocations: 0.875 kB / 0.525 GB, free: 7.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2992, allocations: 0 / 0.525 GB, free: 7.613 MB / 346.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.000965/0.3002, allocations: 0.5535 MB / 0.5255 GB, free: 7.145 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3002, allocations: 8.969 kB / 0.5256 GB, free: 7.145 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.3003, allocations: 29.69 kB / 0.5256 GB, free: 7.133 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.3005, allocations: 221.1 kB / 0.5258 GB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.701e-05/0.3006, allocations: 123.4 kB / 0.5259 GB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.3007, allocations: 19.06 kB / 0.5259 GB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.3011, allocations: 325 kB / 0.5262 GB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3011, allocations: 0.9688 kB / 0.5262 GB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.682e-05/0.3012, allocations: 11.72 kB / 0.5263 GB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.3012, allocations: 7.531 kB / 0.5263 GB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008285/0.302, allocations: 0.7367 MB / 0.527 GB, free: 6.457 MB / 346.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.001009/0.303, allocations: 1.299 MB / 0.5282 GB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.3033, allocations: 162.8 kB / 0.5284 GB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001187/0.3035, allocations: 82.42 kB / 0.5285 GB, free: 5.191 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001666/0.3051, allocations: 2.81 MB / 0.5312 GB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.3052, allocations: 44.55 kB / 0.5313 GB, free: 2.137 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.3052, allocations: 0 / 0.5313 GB, free: 2.137 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002361/0.3054, allocations: 112 kB / 0.5314 GB, free: 2.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.3054, allocations: 54.77 kB / 0.5314 GB, free: 2.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001591/0.3056, allocations: 220 kB / 0.5316 GB, free: 1.871 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.3056, allocations: 35.23 kB / 0.5317 GB, free: 1.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.3057, allocations: 217.1 kB / 0.5319 GB, free: 1.641 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.3057, allocations: 44.58 kB / 0.5319 GB, free: 1.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.3058, allocations: 9.219 kB / 0.5319 GB, free: 1.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.3058, allocations: 332 kB / 0.5322 GB, free: 1.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.777e-05/0.3059, allocations: 44.78 kB / 0.5323 GB, free: 1.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.3061, allocations: 342.8 kB / 0.5326 GB, free: 0.8477 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3062, allocations: 107.1 kB / 0.5327 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3062, allocations: 3.156 kB / 0.5327 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004766/0.3067, allocations: 377 kB / 0.5331 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3067, allocations: 16.23 kB / 0.5331 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.3067, allocations: 11.16 kB / 0.5331 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.3068, allocations: 14.75 kB / 0.5331 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.307, allocations: 97.08 kB / 0.5332 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.307, allocations: 23.39 kB / 0.5332 GB, free: 0.6094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002223/0.3073, allocations: 56.81 kB / 0.5333 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.585e-05/0.3073, allocations: 29.19 kB / 0.5333 GB, free: 0.5703 MB / 346.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 8.782e-05/0.3074, allocations: 152.2 kB / 0.5335 GB, free: 436 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.3075, allocations: 18.53 kB / 0.5335 GB, free: 428 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.3077, allocations: 158.5 kB / 0.5336 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3077, allocations: 2.875 kB / 0.5336 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3077, allocations: 0 / 0.5336 GB, free: 316 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.3077, allocations: 4.734 kB / 0.5336 GB, free: 312 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.3081, allocations: 409.1 kB / 0.534 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3081, allocations: 1.906 kB / 0.534 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.543e-05/0.3082, allocations: 12.05 kB / 0.534 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3082, allocations: 7.984 kB / 0.534 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3082, allocations: 1.281 kB / 0.5341 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.3082, allocations: 2.141 kB / 0.5341 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3082, allocations: 2.062 kB / 0.5341 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.3084, allocations: 209.2 kB / 0.5343 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.58e-05/0.3085, allocations: 105.4 kB / 0.5344 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.3085, allocations: 3.484 kB / 0.5344 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.3087, allocations: 7.562 kB / 0.5344 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.3087, allocations: 6.594 kB / 0.5344 GB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.3087, allocations: 5.516 kB / 0.5344 GB, free: 15.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001167/0.3088, allocations: 159.1 kB / 0.5345 GB, free: 15.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3089, allocations: 0 / 0.5345 GB, free: 15.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004393/0.3093, allocations: 90.59 kB / 0.5346 GB, free: 15.52 MB / 362.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.0002019/0.3095, allocations: 155 kB / 0.5348 GB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.3098, allocations: 165.7 kB / 0.5349 GB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3098, allocations: 1.531 kB / 0.5349 GB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.543e-05/0.3098, allocations: 24.12 kB / 0.5349 GB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.3102, allocations: 40.67 kB / 0.535 GB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008907/0.3111, allocations: 0.6633 MB / 0.5356 GB, free: 14.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3114, allocations: 0.7273 MB / 0.5363 GB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.3114, allocations: 30.11 kB / 0.5364 GB, free: 14.19 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3114, allocations: 0 / 0.5364 GB, free: 14.19 MB / 362.7 MB Notification: Performance of Templates: time 0.0052/0.3166, allocations: 3.209 MB / 0.5395 GB, free: 13.82 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches