Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001551/0.001551, allocations: 115.5 kB / 18.45 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 206.8 kB / 19.4 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.449/1.449, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.89 kB / 359.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2198, allocations: 50.55 MB / 410.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00587/0.2257, allocations: 4.542 MB / 414.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2277, allocations: 1.818 MB / 416.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.2278, allocations: 0 / 416.5 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.228, allocations: 47.67 kB / 416.6 MB, free: 11 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.2283, allocations: 123.2 kB / 416.7 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005943/0.2289, allocations: 254.1 kB / 417 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.2292, allocations: 290.9 kB / 417.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.2293, allocations: 17.06 kB / 417.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.2295, allocations: 131.5 kB / 417.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2296, allocations: 75.73 kB / 417.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.2297, allocations: 8 kB / 417.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.2299, allocations: 95.88 kB / 417.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.02e-05/0.23, allocations: 43.83 kB / 417.6 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.321e-05/0.23, allocations: 71.72 kB / 417.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.2304, allocations: 223.2 kB / 417.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2304, allocations: 0 / 417.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2304, allocations: 3.938 kB / 417.9 MB, free: 9.691 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2304, allocations: 0 / 417.9 MB, free: 9.691 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.0009868/0.2314, allocations: 495 kB / 418.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.2314, allocations: 15.97 kB / 418.4 MB, free: 9.141 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/0.2316, allocations: 24.89 kB / 418.4 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.2319, allocations: 208.2 kB / 418.6 MB, free: 8.875 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2319, allocations: 8.656 kB / 418.6 MB, free: 8.867 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.255e-05/0.2319, allocations: 16.31 kB / 418.7 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.2323, allocations: 217.7 kB / 418.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.2324, allocations: 0 / 418.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.2324, allocations: 11.98 kB / 418.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2324, allocations: 7.938 kB / 418.9 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.2328, allocations: 151.8 kB / 419 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.2341, allocations: 0.9481 MB / 420 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004201/0.2345, allocations: 149.7 kB / 420.1 MB, free: 7.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001527/0.2347, allocations: 48.83 kB / 420.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/0.2352, allocations: 0.5071 MB / 420.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.2353, allocations: 38.56 kB / 420.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.2353, allocations: 0 / 420.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002558/0.2378, allocations: 0.7556 MB / 421.5 MB, free: 5.797 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.2379, allocations: 55.39 kB / 421.5 MB, free: 5.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.238, allocations: 163.2 kB / 421.7 MB, free: 5.562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.197e-05/0.238, allocations: 29.7 kB / 421.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.627e-05/0.2381, allocations: 144.2 kB / 421.9 MB, free: 5.383 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.2382, allocations: 75.38 kB / 421.9 MB, free: 5.309 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.2383, allocations: 57.7 kB / 422 MB, free: 5.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2384, allocations: 326.8 kB / 422.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.2387, allocations: 87.89 kB / 422.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.239, allocations: 181.7 kB / 422.6 MB, free: 4.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005991/0.2396, allocations: 298.7 kB / 422.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2396, allocations: 0 / 422.9 MB, free: 4.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00072/0.2404, allocations: 320.3 kB / 423.2 MB, free: 3.949 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2404, allocations: 8 kB / 423.2 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2404, allocations: 7.938 kB / 423.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.2404, allocations: 7.984 kB / 423.2 MB, free: 3.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.2408, allocations: 84.36 kB / 423.3 MB, free: 3.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.2408, allocations: 11.94 kB / 423.3 MB, free: 3.832 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.241, allocations: 15.98 kB / 423.3 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.2411, allocations: 16 kB / 423.3 MB, free: 3.801 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.0001343/0.2412, allocations: 141.6 kB / 423.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.2412, allocations: 19.84 kB / 423.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.2419, allocations: 234.6 kB / 423.7 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.2419, allocations: 4 kB / 423.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2419, allocations: 3.984 kB / 423.7 MB, free: 3.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2419, allocations: 3.938 kB / 423.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.2432, allocations: 0.5954 MB / 424.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.2432, allocations: 0 / 424.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002964/0.2435, allocations: 56.08 kB / 424.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2435, allocations: 0 / 424.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.2436, allocations: 8 kB / 424.4 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.2436, allocations: 11.94 kB / 424.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.2436, allocations: 3.938 kB / 424.4 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.2444, allocations: 405.6 kB / 424.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2446, allocations: 109 kB / 424.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.2446, allocations: 4.062 kB / 424.9 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.2448, allocations: 19.92 kB / 424.9 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.636e-05/0.2449, allocations: 15.92 kB / 424.9 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.2449, allocations: 15.98 kB / 425 MB, free: 2.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.926e-05/0.245, allocations: 106.9 kB / 425.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.245, allocations: 0 / 425.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003749/0.2453, allocations: 67.92 kB / 425.1 MB, free: 1.879 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0002101/0.2455, allocations: 139.2 kB / 425.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006349/0.2462, allocations: 212 kB / 425.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.2462, allocations: 4 kB / 425.5 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002579/0.2464, allocations: 83.88 kB / 425.6 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003958/0.2468, allocations: 52.44 kB / 425.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.2479, allocations: 483.7 kB / 426.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.2482, allocations: 0.7128 MB / 426.8 MB, free: 136 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.2484, allocations: 45.94 kB / 426.8 MB, free: 92 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/0.2485, allocations: 23.42 kB / 426.9 MB, free: 68 kB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2485, allocations: 0 / 426.9 MB, free: 68 kB / 334.1 MB Notification: Performance of Templates: time 0.006326/0.2548, allocations: 2.731 MB / 429.6 MB, free: 13.35 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches