Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.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) 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(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00182/0.00182, allocations: 193 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.379/1.379, allocations: 226.6 MB / 244.7 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008078/0.0008077, allocations: 88.05 kB / 296.8 MB, free: 6.914 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002658/0.000266, allocations: 8 kB / 356.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2304, allocations: 51.29 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003257/0.2337, allocations: 4.013 MB / 412 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2349, allocations: 1.673 MB / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.235, allocations: 3.938 kB / 413.7 MB, free: 22.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.2352, allocations: 31.81 kB / 413.8 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.2354, allocations: 107.4 kB / 413.9 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004636/0.2359, allocations: 220.5 kB / 414.1 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.2361, allocations: 322.8 kB / 414.4 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.2362, allocations: 9.125 kB / 414.4 MB, free: 21.34 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.2363, allocations: 119.6 kB / 414.5 MB, free: 21.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.2365, allocations: 79.69 kB / 414.6 MB, free: 21.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.2365, allocations: 8 kB / 414.6 MB, free: 21.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.2367, allocations: 99.86 kB / 414.7 MB, free: 21.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.2367, allocations: 35.88 kB / 414.7 MB, free: 21.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.275e-05/0.2368, allocations: 101.4 kB / 414.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.237, allocations: 140.7 kB / 415 MB, free: 20.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.237, allocations: 0 / 415 MB, free: 20.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.237, allocations: 4 kB / 415 MB, free: 20.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.237, allocations: 4 kB / 415 MB, free: 20.76 MB / 298.7 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.0007349/0.2378, allocations: 455.3 kB / 415.4 MB, free: 20.26 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2378, allocations: 8.031 kB / 415.4 MB, free: 20.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.238, allocations: 24.75 kB / 415.5 MB, free: 20.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.2382, allocations: 204.2 kB / 415.7 MB, free: 19.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.2382, allocations: 8.656 kB / 415.7 MB, free: 19.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.2382, allocations: 16.28 kB / 415.7 MB, free: 19.97 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003312/0.2386, allocations: 217.6 kB / 415.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.2386, allocations: 4 kB / 415.9 MB, free: 19.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.2386, allocations: 8 kB / 415.9 MB, free: 19.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.2386, allocations: 4 kB / 415.9 MB, free: 19.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.2389, allocations: 151.8 kB / 416.1 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009918/0.2399, allocations: 0.9363 MB / 417 MB, free: 18.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003273/0.2403, allocations: 150.7 kB / 417.1 MB, free: 18.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.2404, allocations: 56.83 kB / 417.2 MB, free: 18.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.2408, allocations: 0.4992 MB / 417.7 MB, free: 17.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.2408, allocations: 50.5 kB / 417.7 MB, free: 17.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.2408, allocations: 3.938 kB / 417.7 MB, free: 17.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002146/0.243, allocations: 0.7576 MB / 418.5 MB, free: 16.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.243, allocations: 51.41 kB / 418.6 MB, free: 16.85 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.718e-05/0.2431, allocations: 161.6 kB / 418.7 MB, free: 16.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2432, allocations: 33.7 kB / 418.7 MB, free: 16.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.2432, allocations: 143.8 kB / 418.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.2433, allocations: 67 kB / 419 MB, free: 16.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.571e-05/0.2433, allocations: 4 kB / 419 MB, free: 16.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.2433, allocations: 330.8 kB / 419.3 MB, free: 16.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.2436, allocations: 87.69 kB / 419.4 MB, free: 16.01 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.2438, allocations: 186.2 kB / 419.5 MB, free: 15.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.2443, allocations: 296.2 kB / 419.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.2443, allocations: 4 kB / 419.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005811/0.2449, allocations: 313.2 kB / 420.1 MB, free: 15.13 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2449, allocations: 8 kB / 420.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2449, allocations: 4 kB / 420.2 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2449, allocations: 4 kB / 420.2 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.2452, allocations: 84.22 kB / 420.2 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.2453, allocations: 12 kB / 420.3 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.2455, allocations: 19.92 kB / 420.3 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.2455, allocations: 16 kB / 420.3 MB, free: 14.98 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.836e-05/0.2456, allocations: 137.7 kB / 420.4 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.2457, allocations: 15.81 kB / 420.4 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000554/0.2462, allocations: 234.7 kB / 420.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2462, allocations: 4 kB / 420.7 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2462, allocations: 3.984 kB / 420.7 MB, free: 14.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2462, allocations: 7.922 kB / 420.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.2473, allocations: 0.5999 MB / 421.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2473, allocations: 0 / 421.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002609/0.2476, allocations: 56.02 kB / 421.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2476, allocations: 4 kB / 421.3 MB, free: 13.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.2476, allocations: 8 kB / 421.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2476, allocations: 3.938 kB / 421.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2476, allocations: 3.938 kB / 421.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006632/0.2483, allocations: 405.6 kB / 421.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.2483, allocations: 88.95 kB / 421.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.2484, allocations: 12 kB / 421.9 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.2486, allocations: 19.98 kB / 421.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.2486, allocations: 7.984 kB / 421.9 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.2486, allocations: 15.98 kB / 421.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.19e-05/0.2487, allocations: 109.5 kB / 422 MB, free: 13.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.2487, allocations: 0 / 422 MB, free: 13.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003305/0.249, allocations: 67.88 kB / 422.1 MB, free: 13.08 MB / 298.7 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 (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.0002196/0.2493, allocations: 131.2 kB / 422.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004903/0.2498, allocations: 219.1 kB / 422.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2498, allocations: 0 / 422.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.25, allocations: 95.81 kB / 422.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.2504, allocations: 40.66 kB / 422.5 MB, free: 12.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008458/0.2512, allocations: 0.5904 MB / 423.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.2514, allocations: 0.7131 MB / 423.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.843e-05/0.2515, allocations: 31.42 kB / 423.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2515, allocations: 0 / 423.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Templates: time 0.003577/0.2551, allocations: 2.612 MB / 426.5 MB, free: 8.578 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches