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/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_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/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.307/1.307, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009676/0.0009675, allocations: 95.78 kB / 286.7 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1899/0.1899, allocations: 45.14 MB / 383.8 MB, free: 228 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.187e-05/1.191e-05, allocations: 0 / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09821, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9221/1.02, allocations: 378.5 MB / 0.8739 GB, free: 78.06 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/1.021, allocations: 76.44 kB / 0.874 GB, free: 78.02 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04199/1.063, allocations: 19.27 MB / 0.8928 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.483e-06/1.063, allocations: 0 / 0.8928 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.499e-05/1.063, allocations: 4 kB / 0.8928 GB, free: 62.22 MB / 0.5261 GB 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.001034/1.064, allocations: 0.5546 MB / 0.8934 GB, free: 61.64 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/1.064, allocations: 8.031 kB / 0.8934 GB, free: 61.63 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/1.064, allocations: 27.8 kB / 0.8934 GB, free: 61.61 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/1.064, allocations: 229.4 kB / 0.8936 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.816e-05/1.064, allocations: 119.4 kB / 0.8938 GB, free: 61.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/1.064, allocations: 12 kB / 0.8938 GB, free: 61.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006318/1.065, allocations: 0.711 MB / 0.8945 GB, free: 60.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000323/1.065, allocations: 288.6 kB / 0.8947 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/1.065, allocations: 0 / 0.8947 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/1.065, allocations: 0 / 0.8947 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/1.065, allocations: 11.94 kB / 0.8947 GB, free: 60.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002411/1.068, allocations: 3.503 MB / 0.8982 GB, free: 56.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.756e-05/1.068, allocations: 50.2 kB / 0.8982 GB, free: 56.37 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.793e-05/1.068, allocations: 12.89 kB / 0.8982 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004233/1.068, allocations: 452 kB / 0.8987 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/1.068, allocations: 34.5 kB / 0.8987 GB, free: 55.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/1.068, allocations: 7.938 kB / 0.8987 GB, free: 55.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001767/1.069, allocations: 49.5 kB / 0.8987 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/1.069, allocations: 51.41 kB / 0.8988 GB, free: 55.72 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/1.069, allocations: 218.5 kB / 0.899 GB, free: 55.54 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/1.069, allocations: 29.73 kB / 0.899 GB, free: 55.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/1.069, allocations: 255.7 kB / 0.8993 GB, free: 55.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.386e-06/1.069, allocations: 7.5 kB / 0.8993 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-06/1.069, allocations: 0 / 0.8993 GB, free: 55.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.275e-05/1.069, allocations: 330 kB / 0.8996 GB, free: 54.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/1.069, allocations: 27.94 kB / 0.8996 GB, free: 54.92 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/1.069, allocations: 340.3 kB / 0.8999 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/1.07, allocations: 114 kB / 0.9001 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/1.07, allocations: 7.938 kB / 0.9001 GB, free: 54.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006044/1.07, allocations: 346.7 kB / 0.9004 GB, free: 54.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/1.07, allocations: 12 kB / 0.9004 GB, free: 54.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.07, allocations: 16.12 kB / 0.9004 GB, free: 54.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/1.07, allocations: 16 kB / 0.9004 GB, free: 53.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/1.071, allocations: 91.83 kB / 0.9005 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/1.071, allocations: 27.86 kB / 0.9006 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/1.071, allocations: 47.44 kB / 0.9006 GB, free: 53.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/1.071, allocations: 27.5 kB / 0.9006 GB, free: 53.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 7.029e-05/1.071, allocations: 124.4 kB / 0.9007 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/1.071, allocations: 23.77 kB / 0.9008 GB, free: 53.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.258e-05/1.071, allocations: 20.73 kB / 0.9008 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.071, allocations: 0 / 0.9008 GB, free: 53.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/1.071, allocations: 3.984 kB / 0.9008 GB, free: 53.63 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.071, allocations: 4 kB / 0.9008 GB, free: 53.63 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/1.071, allocations: 176 kB / 0.901 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/1.071, allocations: 0 / 0.901 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.052e-06/1.071, allocations: 0 / 0.901 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.071, allocations: 0 / 0.901 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/1.071, allocations: 0 / 0.901 GB, free: 53.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/1.071, allocations: 3.953 kB / 0.901 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.071, allocations: 3.938 kB / 0.901 GB, free: 53.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/1.071, allocations: 151.4 kB / 0.9011 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.894e-05/1.071, allocations: 104.1 kB / 0.9012 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/1.071, allocations: 11.94 kB / 0.9012 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/1.072, allocations: 0 / 0.9012 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/1.072, allocations: 3.953 kB / 0.9012 GB, free: 53.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/1.072, allocations: 4 kB / 0.9012 GB, free: 53.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.39e-05/1.072, allocations: 155.8 kB / 0.9014 GB, free: 53 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.072, allocations: 0 / 0.9014 GB, free: 53 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004827/1.072, allocations: 83.84 kB / 0.9015 GB, free: 52.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0002266/1.072, allocations: 154.6 kB / 0.9016 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000203/1.073, allocations: 132.6 kB / 0.9017 GB, free: 52.65 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.073, allocations: 4.062 kB / 0.9017 GB, free: 52.65 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.012e-06/1.073, allocations: 4 kB / 0.9017 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/1.073, allocations: 17.11 kB / 0.9018 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008976/1.082, allocations: 4.251 MB / 0.9059 GB, free: 49.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/1.082, allocations: 0.7249 MB / 0.9066 GB, free: 48.58 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002481/1.082, allocations: 41.94 kB / 0.9067 GB, free: 48.54 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/1.082, allocations: 23.42 kB / 0.9067 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of SimCode: time 7.42e-07/1.082, allocations: 0 / 0.9067 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.004795/1.087, allocations: 2.172 MB / 0.9088 GB, free: 46.37 MB / 0.5261 GB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches