Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001789/0.001789, allocations: 112 kB / 17.98 MB, free: 5.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002473/0.002473, allocations: 205.8 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.805/2.805, allocations: 227.4 MB / 247.1 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.5551/0.5551, allocations: 46.1 MB / 344.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002595/0.002596, allocations: 74.2 kB / 417.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2445, allocations: 62.44 MB / 480.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.01195/0.2566, allocations: 4.633 MB / 484.8 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008388/0.265, allocations: 4.006 MB / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004394/0.2656, allocations: 0 / 488.8 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006209/0.2663, allocations: 43.73 kB / 488.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004371/0.2707, allocations: 0.6687 MB / 489.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006389/0.2713, allocations: 127.6 kB / 489.6 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001094/0.2724, allocations: 374.1 kB / 490 MB, free: 11.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.2726, allocations: 17.66 kB / 490 MB, free: 11.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000511/0.2731, allocations: 147.4 kB / 490.1 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005308/0.2737, allocations: 151.4 kB / 490.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.954e-05/0.2738, allocations: 8 kB / 490.3 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.2758, allocations: 439.4 kB / 490.7 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.276, allocations: 47.75 kB / 490.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.2763, allocations: 107.5 kB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001288/0.2776, allocations: 327.6 kB / 491.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2777, allocations: 0 / 491.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.125e-06/0.2777, allocations: 0 / 491.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.985e-05/0.2777, allocations: 0 / 491.2 MB, free: 10.48 MB / 366.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.002112/0.2798, allocations: 0.6031 MB / 491.8 MB, free: 9.824 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.604e-05/0.2799, allocations: 8.031 kB / 491.8 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003155/0.2802, allocations: 24.75 kB / 491.8 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000493/0.2807, allocations: 228 kB / 492.1 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.281, allocations: 123.9 kB / 492.2 MB, free: 9.387 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.29e-05/0.281, allocations: 20.38 kB / 492.2 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.282, allocations: 327.6 kB / 492.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.282, allocations: 0 / 492.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.2821, allocations: 15.98 kB / 492.5 MB, free: 9.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.381e-05/0.2821, allocations: 11.98 kB / 492.5 MB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.2836, allocations: 0.7391 MB / 493.3 MB, free: 8.258 MB / 366.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.002672/0.2863, allocations: 1.3 MB / 494.6 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005955/0.2869, allocations: 159.8 kB / 494.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002484/0.2871, allocations: 97.41 kB / 494.8 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004621/0.2918, allocations: 2.806 MB / 497.6 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/0.2919, allocations: 34.56 kB / 497.7 MB, free: 3.199 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 3.717e-06/0.2919, allocations: 0 / 497.7 MB, free: 3.199 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005227/0.2924, allocations: 125.2 kB / 497.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.2925, allocations: 55.34 kB / 497.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005335/0.293, allocations: 221.2 kB / 498.1 MB, free: 2.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.2931, allocations: 29.7 kB / 498.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002336/0.2933, allocations: 218.6 kB / 498.3 MB, free: 2.527 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.2934, allocations: 39.39 kB / 498.3 MB, free: 2.488 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.2936, allocations: 85.94 kB / 498.4 MB, free: 2.398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002649/0.2939, allocations: 326.8 kB / 498.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.294, allocations: 44.84 kB / 498.8 MB, free: 2.027 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/0.2946, allocations: 355.2 kB / 499.1 MB, free: 1.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007802/0.2954, allocations: 440.6 kB / 499.6 MB, free: 0.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.147e-05/0.2954, allocations: 4 kB / 499.6 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001093/0.2965, allocations: 381.7 kB / 499.9 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.2966, allocations: 10.66 kB / 500 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.69e-05/0.2966, allocations: 12 kB / 500 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.465e-05/0.2967, allocations: 15.94 kB / 500 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004662/0.2972, allocations: 107.8 kB / 0.4884 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.623e-05/0.2972, allocations: 23.86 kB / 0.4884 GB, free: 420 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005783/0.2978, allocations: 51.44 kB / 0.4884 GB, free: 368 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/0.2979, allocations: 28 kB / 0.4885 GB, free: 340 kB / 366.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.000285/0.2982, allocations: 153.8 kB / 0.4886 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.2983, allocations: 15.81 kB / 0.4886 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005469/0.2989, allocations: 148.9 kB / 0.4888 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.518e-05/0.299, allocations: 12.02 kB / 0.4888 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.299, allocations: 0 / 0.4888 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.299, allocations: 0 / 0.4888 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.3, allocations: 412.8 kB / 0.4892 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3, allocations: 0 / 0.4892 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.222e-05/0.3001, allocations: 16.09 kB / 0.4892 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3002, allocations: 0 / 0.4892 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3002, allocations: 0 / 0.4892 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.845e-06/0.3002, allocations: 4 kB / 0.4892 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.3002, allocations: 3.938 kB / 0.4892 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.3006, allocations: 209.8 kB / 0.4894 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.3008, allocations: 108.8 kB / 0.4895 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.506e-05/0.3009, allocations: 4 kB / 0.4895 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.3011, allocations: 0 / 0.4895 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.3012, allocations: 7.984 kB / 0.4895 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.3012, allocations: 12.06 kB / 0.4895 GB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00024/0.3015, allocations: 152.5 kB / 0.4897 GB, free: 14.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3015, allocations: 0 / 0.4897 GB, free: 14.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009506/0.3025, allocations: 95.94 kB / 0.4898 GB, free: 14.88 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.0005855/0.3031, allocations: 151.2 kB / 0.4899 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.3036, allocations: 181.3 kB / 0.4901 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.3036, allocations: 3.938 kB / 0.4901 GB, free: 14.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.3037, allocations: 19.94 kB / 0.4901 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008431/0.3046, allocations: 53.52 kB / 0.4902 GB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.3067, allocations: 0.6262 MB / 0.4908 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.3073, allocations: 0.7285 MB / 0.4915 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-05/0.3074, allocations: 27.42 kB / 0.4915 GB, free: 13.02 MB / 382.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3074, allocations: 0 / 0.4915 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Templates: time 0.01153/0.319, allocations: 3.316 MB / 0.4947 GB, free: 9.711 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches