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.001593/0.001593, allocations: 111.4 kB / 17.98 MB, free: 5.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001617/0.001617, allocations: 209.8 kB / 18.92 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 247.1 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 59.8 kB / 307.1 MB, free: 0.8594 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.106, allocations: 50.54 MB / 357.7 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006704/0.1127, allocations: 4.58 MB / 362.2 MB, free: 9.707 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.115, allocations: 1.798 MB / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.183e-05/0.1151, allocations: 8 kB / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002744/0.1154, allocations: 39.75 kB / 364.1 MB, free: 7.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.1158, allocations: 111.4 kB / 364.2 MB, free: 7.746 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007154/0.1165, allocations: 235.2 kB / 364.4 MB, free: 7.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003957/0.1169, allocations: 290.8 kB / 364.7 MB, free: 7.234 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.117, allocations: 13.08 kB / 364.7 MB, free: 7.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002832/0.1173, allocations: 135.5 kB / 364.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1174, allocations: 75.73 kB / 364.9 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1174, allocations: 12 kB / 364.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.1177, allocations: 107.9 kB / 365 MB, free: 6.898 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.1178, allocations: 39.83 kB / 365.1 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.905e-05/0.1179, allocations: 75.72 kB / 365.2 MB, free: 6.785 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.1182, allocations: 159.9 kB / 365.3 MB, free: 6.629 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.1182, allocations: 7.938 kB / 365.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1182, allocations: 0 / 365.3 MB, free: 6.621 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.1182, allocations: 3.938 kB / 365.3 MB, free: 6.617 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.001102/0.1193, allocations: 495.2 kB / 365.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1194, allocations: 8.031 kB / 365.8 MB, free: 6.074 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.1196, allocations: 20.83 kB / 365.8 MB, free: 6.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/0.1199, allocations: 212.1 kB / 366 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.1199, allocations: 8.656 kB / 366.1 MB, free: 5.801 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.1199, allocations: 16.38 kB / 366.1 MB, free: 5.785 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.1204, allocations: 213.7 kB / 366.3 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1204, allocations: 3.938 kB / 366.3 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.1205, allocations: 8 kB / 366.3 MB, free: 5.543 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.1205, allocations: 4 kB / 366.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.1209, allocations: 151.8 kB / 366.4 MB, free: 5.391 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.1223, allocations: 0.9401 MB / 367.4 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.1227, allocations: 154.7 kB / 367.5 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001654/0.1229, allocations: 64.77 kB / 367.6 MB, free: 4.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006035/0.1235, allocations: 0.4915 MB / 368.1 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.1236, allocations: 38.56 kB / 368.1 MB, free: 3.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.1236, allocations: 3.938 kB / 368.1 MB, free: 3.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002681/0.1263, allocations: 0.7654 MB / 368.9 MB, free: 2.727 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.1263, allocations: 55.41 kB / 368.9 MB, free: 2.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.1265, allocations: 154.4 kB / 369.1 MB, free: 2.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.1266, allocations: 29.7 kB / 369.1 MB, free: 2.465 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1267, allocations: 143.8 kB / 369.3 MB, free: 2.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.1268, allocations: 70.98 kB / 369.3 MB, free: 2.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1269, allocations: 69.59 kB / 369.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.127, allocations: 322.8 kB / 369.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.1273, allocations: 87.69 kB / 369.8 MB, free: 1.766 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.1277, allocations: 185.7 kB / 370 MB, free: 1.535 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006278/0.1283, allocations: 304.4 kB / 370.3 MB, free: 1.191 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1283, allocations: 4 kB / 370.3 MB, free: 1.188 MB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007401/0.1291, allocations: 313.2 kB / 370.6 MB, free: 0.875 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.1291, allocations: 7.984 kB / 370.6 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1291, allocations: 4 kB / 370.6 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.1291, allocations: 8 kB / 370.6 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.1296, allocations: 79.89 kB / 370.7 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.1296, allocations: 7.938 kB / 370.7 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002465/0.1298, allocations: 24.23 kB / 370.7 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.1299, allocations: 16 kB / 370.7 MB, free: 0.7305 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.1301, allocations: 138.8 kB / 370.9 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.1301, allocations: 23.69 kB / 370.9 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.1309, allocations: 238.6 kB / 371.1 MB, free: 332 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.1309, allocations: 4 kB / 371.1 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1309, allocations: 0 / 371.1 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1309, allocations: 0 / 371.1 MB, free: 328 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1538/0.2847, allocations: 0.5933 MB / 371.7 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.054e-06/0.2848, allocations: 2.688 kB / 371.7 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.2851, allocations: 48.67 kB / 371.8 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.263e-06/0.2851, allocations: 5.641 kB / 371.8 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.2852, allocations: 10.16 kB / 371.8 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.2852, allocations: 2.438 kB / 371.8 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2852, allocations: 9.281 kB / 371.8 MB, free: 20.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.2861, allocations: 395.4 kB / 372.2 MB, free: 20.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.232e-05/0.2862, allocations: 108.1 kB / 372.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.2862, allocations: 9.625 kB / 372.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.2865, allocations: 13.8 kB / 372.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.2865, allocations: 15.47 kB / 372.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.2866, allocations: 9.391 kB / 372.3 MB, free: 20.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.956e-05/0.2867, allocations: 113.1 kB / 372.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2867, allocations: 0 / 372.5 MB, free: 20.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004244/0.2871, allocations: 66.16 kB / 372.5 MB, free: 20.23 MB / 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 (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.0001972/0.2873, allocations: 129.1 kB / 372.6 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006679/0.288, allocations: 235.8 kB / 372.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.288, allocations: 1.969 kB / 372.9 MB, free: 20.15 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.2882, allocations: 94.14 kB / 373 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004974/0.2887, allocations: 35.11 kB / 373 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/0.2898, allocations: 0.5601 MB / 373.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.29, allocations: 0.714 MB / 374.3 MB, free: 19.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.2901, allocations: 27.88 kB / 374.3 MB, free: 19.13 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2901, allocations: 1.75 kB / 374.3 MB, free: 19.13 MB / 302.1 MB Notification: Performance of Templates: time 0.005715/0.2959, allocations: 2.607 MB / 376.9 MB, free: 18.95 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/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_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches