Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001448/0.001448, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008573/0.0008572, allocations: 103.3 kB / 286.7 MB, free: 5.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2028/0.2028, allocations: 45.15 MB / 383.8 MB, free: 304 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.721e-05/1.724e-05, allocations: 4 kB / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 63.25 MB / 0.5044 GB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.881/0.9996, allocations: 301.4 MB / 0.7987 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.9999, allocations: 70.59 kB / 0.7988 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.04099/1.041, allocations: 20.7 MB / 0.819 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/1.041, allocations: 0 / 0.819 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.326e-05/1.041, allocations: 4 kB / 0.819 GB, free: 134.9 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.000791/1.042, allocations: 0.55 MB / 0.8195 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/1.042, allocations: 12.03 kB / 0.8196 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/1.042, allocations: 27.31 kB / 0.8196 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/1.042, allocations: 225.2 kB / 0.8198 GB, free: 134 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.705e-05/1.042, allocations: 123.4 kB / 0.8199 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/1.042, allocations: 12 kB / 0.8199 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005745/1.043, allocations: 0.7127 MB / 0.8206 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003057/1.043, allocations: 278.9 kB / 0.8209 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.043, allocations: 3.938 kB / 0.8209 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/1.043, allocations: 8 kB / 0.8209 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/1.043, allocations: 4 kB / 0.8209 GB, free: 133 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/1.045, allocations: 3.187 MB / 0.824 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.832e-05/1.045, allocations: 45.69 kB / 0.8241 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.344e-05/1.045, allocations: 28.55 kB / 0.8241 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001395/1.046, allocations: 169.9 kB / 0.8243 GB, free: 129.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.046, allocations: 34.5 kB / 0.8243 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/1.046, allocations: 0 / 0.8243 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0005201/1.046, allocations: 155.3 kB / 0.8244 GB, free: 129 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.879e-05/1.046, allocations: 51.41 kB / 0.8245 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/1.046, allocations: 200.4 kB / 0.8247 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/1.046, allocations: 29.7 kB / 0.8247 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.319e-05/1.046, allocations: 224.4 kB / 0.8249 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-05/1.046, allocations: 39.16 kB / 0.825 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/1.046, allocations: 4.031 kB / 0.825 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.643e-05/1.046, allocations: 337.2 kB / 0.8253 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/1.047, allocations: 36.11 kB / 0.8253 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/1.047, allocations: 296.4 kB / 0.8256 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/1.047, allocations: 113.1 kB / 0.8257 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.047, allocations: 0 / 0.8257 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005432/1.048, allocations: 330.8 kB / 0.826 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/1.048, allocations: 8 kB / 0.826 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.048, allocations: 8 kB / 0.826 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.048, allocations: 16 kB / 0.8261 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002965/1.048, allocations: 107.4 kB / 0.8262 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/1.048, allocations: 15.94 kB / 0.8262 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/1.048, allocations: 16 kB / 0.8262 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/1.048, allocations: 27.17 kB / 0.8262 GB, free: 127.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.131e-05/1.048, allocations: 129.4 kB / 0.8263 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/1.048, allocations: 19.72 kB / 0.8264 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/1.048, allocations: 100.9 kB / 0.8264 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/1.049, allocations: 4 kB / 0.8265 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/1.049, allocations: 0 / 0.8265 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.049, allocations: 0 / 0.8265 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/1.049, allocations: 383.1 kB / 0.8268 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.049, allocations: 0 / 0.8268 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/1.049, allocations: 23.11 kB / 0.8268 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.049, allocations: 4 kB / 0.8268 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/1.049, allocations: 0 / 0.8268 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.049, allocations: 4.062 kB / 0.8268 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/1.049, allocations: 4 kB / 0.8269 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/1.049, allocations: 218.6 kB / 0.8271 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/1.049, allocations: 118.5 kB / 0.8272 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/1.049, allocations: 8 kB / 0.8272 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/1.05, allocations: 11.94 kB / 0.8272 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/1.05, allocations: 4 kB / 0.8272 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/1.05, allocations: 7.984 kB / 0.8272 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.195e-05/1.05, allocations: 139.7 kB / 0.8273 GB, free: 126 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.05, allocations: 0 / 0.8273 GB, free: 126 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004517/1.05, allocations: 95 kB / 0.8274 GB, free: 125.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0002431/1.05, allocations: 186.5 kB / 0.8276 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000197/1.051, allocations: 137.2 kB / 0.8277 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.051, allocations: 64 / 0.8277 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.418e-05/1.051, allocations: 26.92 kB / 0.8278 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/1.051, allocations: 22.75 kB / 0.8278 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/1.051, allocations: 191.9 kB / 0.828 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/1.051, allocations: 0.7289 MB / 0.8287 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002356/1.052, allocations: 53.88 kB / 0.8287 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/1.052, allocations: 27.42 kB / 0.8288 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/1.052, allocations: 0 / 0.8288 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.004925/1.057, allocations: 2.76 MB / 0.8315 GB, free: 121.8 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches