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.0009336/0.0009337, allocations: 98.84 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001032/0.001032, allocations: 198.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 227.2 MB / 245.9 MB, free: 12.08 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 4 kB / 306.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09804, allocations: 51.49 MB / 358 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004011/0.1021, allocations: 3.741 MB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1036, allocations: 1.52 MB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.1037, allocations: 7.938 kB / 363.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00019/0.1039, allocations: 35.86 kB / 363.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.1041, allocations: 103.6 kB / 363.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.1047, allocations: 222.5 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.1049, allocations: 167.7 kB / 363.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.105, allocations: 13.11 kB / 363.8 MB, free: 8.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.1052, allocations: 115.7 kB / 364 MB, free: 8.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.628e-05/0.1053, allocations: 63.75 kB / 364 MB, free: 8.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.1053, allocations: 4 kB / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.1055, allocations: 91.94 kB / 364.1 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.1056, allocations: 31.91 kB / 364.1 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.1057, allocations: 53.58 kB / 364.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1059, allocations: 144 kB / 364.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.1059, allocations: 0 / 364.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1059, allocations: 0 / 364.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.379e-06/0.1059, allocations: 0 / 364.3 MB, free: 7.836 MB / 302.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.0008041/0.1067, allocations: 457.8 kB / 364.8 MB, free: 7.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1068, allocations: 12.03 kB / 364.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.1069, allocations: 19.81 kB / 364.8 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.1072, allocations: 210.8 kB / 365 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1072, allocations: 16.28 kB / 365 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.1072, allocations: 12 kB / 365.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.1077, allocations: 209.5 kB / 365.3 MB, free: 6.809 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1077, allocations: 7.844 kB / 365.3 MB, free: 6.801 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.1077, allocations: 8 kB / 365.3 MB, free: 6.793 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1077, allocations: 8 kB / 365.3 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.1081, allocations: 155.8 kB / 365.4 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1094, allocations: 0.9401 MB / 366.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.1098, allocations: 142.8 kB / 366.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005411/0.1103, allocations: 0.5074 MB / 367 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1104, allocations: 30.56 kB / 367 MB, free: 4.859 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.1104, allocations: 0 / 367 MB, free: 4.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002465/0.1128, allocations: 0.7751 MB / 367.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1129, allocations: 51.41 kB / 367.9 MB, free: 3.969 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.113, allocations: 157.8 kB / 368 MB, free: 3.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1131, allocations: 29.7 kB / 368.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.782e-05/0.1132, allocations: 139.8 kB / 368.2 MB, free: 3.633 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.1133, allocations: 75.02 kB / 368.3 MB, free: 3.559 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.576e-05/0.1133, allocations: 4 kB / 368.3 MB, free: 3.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.1135, allocations: 326.8 kB / 368.6 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.1137, allocations: 87.69 kB / 368.7 MB, free: 3.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.114, allocations: 189.8 kB / 368.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002743/0.1143, allocations: 104.8 kB / 369 MB, free: 2.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1143, allocations: 0 / 369 MB, free: 2.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006766/0.115, allocations: 317.7 kB / 369.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.115, allocations: 12.05 kB / 369.3 MB, free: 2.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.115, allocations: 8 kB / 369.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1151, allocations: 11.95 kB / 369.3 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003766/0.1154, allocations: 79.89 kB / 369.4 MB, free: 2.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1155, allocations: 7.938 kB / 369.4 MB, free: 2.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.1157, allocations: 19.98 kB / 369.4 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.1157, allocations: 16 kB / 369.4 MB, free: 2.34 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.1159, allocations: 137.8 kB / 369.6 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.1159, allocations: 15.81 kB / 369.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.1167, allocations: 238.5 kB / 369.8 MB, free: 1.945 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1167, allocations: 7.938 kB / 369.8 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1167, allocations: 4 kB / 369.8 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.1167, allocations: 3.984 kB / 369.8 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.118, allocations: 0.5978 MB / 370.4 MB, free: 1.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.118, allocations: 4 kB / 370.4 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.1183, allocations: 51.89 kB / 370.5 MB, free: 1.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1183, allocations: 4 kB / 370.5 MB, free: 1.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.1183, allocations: 4 kB / 370.5 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.1184, allocations: 7.984 kB / 370.5 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1184, allocations: 128 / 370.5 MB, free: 1.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.1192, allocations: 452 kB / 370.9 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.1193, allocations: 88.95 kB / 371 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.1193, allocations: 11.98 kB / 371 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.1195, allocations: 16.05 kB / 371 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.1196, allocations: 15.94 kB / 371.1 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1196, allocations: 12 kB / 371.1 MB, free: 0.543 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.403e-05/0.1197, allocations: 110.8 kB / 371.2 MB, free: 448 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1197, allocations: 0 / 371.2 MB, free: 448 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003622/0.1201, allocations: 63.94 kB / 371.2 MB, free: 384 kB / 302.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 (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.0002243/0.1203, allocations: 127.2 kB / 371.4 MB, free: 244 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.1209, allocations: 208.2 kB / 371.6 MB, free: 36 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1209, allocations: 4 kB / 371.6 MB, free: 32 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1338/0.2548, allocations: 82.97 kB / 371.7 MB, free: 21.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.2552, allocations: 32.69 kB / 371.7 MB, free: 21.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2562, allocations: 0.5578 MB / 372.2 MB, free: 20.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.2564, allocations: 0.7244 MB / 373 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.2566, allocations: 47.03 kB / 373 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.776e-05/0.2567, allocations: 25.5 kB / 373 MB, free: 20.13 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2567, allocations: 0.8125 kB / 373 MB, free: 20.13 MB / 302.1 MB Notification: Performance of Templates: time 0.005627/0.2624, allocations: 2.468 MB / 375.5 MB, free: 19.98 MB / 302.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches