Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001354/0.001354, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.2003, allocations: 50.53 MB / 409.9 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005424/0.2058, allocations: 4.549 MB / 414.5 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.2077, allocations: 1.814 MB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.668e-05/0.2078, allocations: 3.938 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.208, allocations: 39.73 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.2084, allocations: 127.2 kB / 416.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.209, allocations: 242.9 kB / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.2093, allocations: 290.9 kB / 417 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.2094, allocations: 21.06 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.2096, allocations: 131.5 kB / 417.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.2098, allocations: 79.69 kB / 417.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.2098, allocations: 8 kB / 417.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.2101, allocations: 99.86 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.2101, allocations: 47.77 kB / 417.3 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.153e-05/0.2102, allocations: 71.72 kB / 417.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.2106, allocations: 216.5 kB / 417.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2106, allocations: 0 / 417.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2106, allocations: 0 / 417.6 MB, free: 9.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.2106, allocations: 0 / 417.6 MB, free: 9.84 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009121/0.2115, allocations: 495.3 kB / 418.1 MB, free: 9.305 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.2116, allocations: 8.031 kB / 418.1 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001886/0.2117, allocations: 20.75 kB / 418.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.212, allocations: 212.1 kB / 418.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.212, allocations: 12.64 kB / 418.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.2121, allocations: 12.38 kB / 418.4 MB, free: 9.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.2125, allocations: 221.6 kB / 418.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2125, allocations: 0 / 418.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.2125, allocations: 8 kB / 418.6 MB, free: 8.762 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.2126, allocations: 4 kB / 418.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003637/0.2129, allocations: 147.8 kB / 418.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.2142, allocations: 0.9557 MB / 419.7 MB, free: 7.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.2146, allocations: 146.7 kB / 419.8 MB, free: 7.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.2148, allocations: 52.83 kB / 419.9 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005094/0.2153, allocations: 0.5109 MB / 420.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.2153, allocations: 34.55 kB / 420.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.2153, allocations: 0 / 420.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002637/0.218, allocations: 0.7688 MB / 421.2 MB, free: 5.941 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.218, allocations: 55.41 kB / 421.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.2181, allocations: 161.6 kB / 421.4 MB, free: 5.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2182, allocations: 25.7 kB / 421.4 MB, free: 5.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.2183, allocations: 147.8 kB / 421.6 MB, free: 5.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.2183, allocations: 71 kB / 421.7 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.219e-05/0.2184, allocations: 61.61 kB / 421.7 MB, free: 5.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2185, allocations: 318.8 kB / 422 MB, free: 5.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.2188, allocations: 87.94 kB / 422.1 MB, free: 4.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.2191, allocations: 189.7 kB / 422.3 MB, free: 4.754 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005686/0.2197, allocations: 293.9 kB / 422.6 MB, free: 4.422 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.257e-05/0.2197, allocations: 7.938 kB / 422.6 MB, free: 4.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006968/0.2204, allocations: 317.1 kB / 422.9 MB, free: 4.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2204, allocations: 4.469 kB / 422.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2204, allocations: 8 kB / 422.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.2205, allocations: 8 kB / 422.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.2209, allocations: 83.81 kB / 423 MB, free: 3.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2209, allocations: 7.938 kB / 423 MB, free: 3.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.2211, allocations: 23.92 kB / 423 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.526e-05/0.2212, allocations: 12 kB / 423 MB, free: 3.953 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0001132/0.2213, allocations: 145.7 kB / 423.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.2214, allocations: 19.75 kB / 423.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006502/0.222, allocations: 238.6 kB / 423.4 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.222, allocations: 3.984 kB / 423.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.222, allocations: 0 / 423.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.2221, allocations: 104.9 kB / 423.5 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2222, allocations: 8 kB / 423.6 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.2224, allocations: 11.98 kB / 423.6 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.187e-05/0.2225, allocations: 11.98 kB / 423.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008187/0.2233, allocations: 315.1 kB / 423.9 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008553/0.2242, allocations: 482.4 kB / 424.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002348/0.2244, allocations: 79.97 kB / 424.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.91e-05/0.2245, allocations: 115.2 kB / 424.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of Backend: time 3.1e-07/0.2245, allocations: 0 / 424.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007726/0.2253, allocations: 277.7 kB / 424.8 MB, free: 2.121 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007378/0.226, allocations: 0.8418 MB / 425.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of Templates: time 0.006095/0.2321, allocations: 3.188 MB / 428.8 MB, free: 14.04 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches