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.0008101/0.0008102, allocations: 97.48 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008915/0.0008916, allocations: 205.9 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.7 MB / 247.5 MB, free: 9.473 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002379/0.0002384, allocations: 8 kB / 308.4 MB, free: 0.5859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.09989, allocations: 51.53 MB / 359.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005083/0.105, allocations: 4.2 MB / 364.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.1073, allocations: 1.787 MB / 365.9 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1074, allocations: 4 kB / 365.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002826/0.1077, allocations: 31.75 kB / 365.9 MB, free: 7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004366/0.1082, allocations: 115.3 kB / 366 MB, free: 6.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.1089, allocations: 239 kB / 366.3 MB, free: 6.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000449/0.1094, allocations: 366.8 kB / 366.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.233e-05/0.1094, allocations: 13.08 kB / 366.6 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.1097, allocations: 135.5 kB / 366.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1099, allocations: 75.69 kB / 366.8 MB, free: 6.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1099, allocations: 4 kB / 366.8 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002681/0.1102, allocations: 103.8 kB / 366.9 MB, free: 5.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.308e-05/0.1102, allocations: 39.83 kB / 367 MB, free: 5.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.786e-05/0.1103, allocations: 101.4 kB / 367.1 MB, free: 5.832 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1106, allocations: 143.9 kB / 367.2 MB, free: 5.691 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1106, allocations: 0 / 367.2 MB, free: 5.691 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1106, allocations: 0 / 367.2 MB, free: 5.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.1106, allocations: 4 kB / 367.2 MB, free: 5.688 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.0008946/0.1115, allocations: 463.2 kB / 367.7 MB, free: 5.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1116, allocations: 8.031 kB / 367.7 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.1118, allocations: 24.83 kB / 367.7 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.112, allocations: 200.2 kB / 367.9 MB, free: 4.918 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.112, allocations: 16.59 kB / 367.9 MB, free: 4.902 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.856e-05/0.1121, allocations: 20.38 kB / 367.9 MB, free: 4.883 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.1125, allocations: 209.6 kB / 368.2 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1125, allocations: 4 kB / 368.2 MB, free: 4.652 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.1126, allocations: 11.94 kB / 368.2 MB, free: 4.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.175e-05/0.1126, allocations: 8 kB / 368.2 MB, free: 4.633 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003527/0.1129, allocations: 143.8 kB / 368.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.1142, allocations: 0.944 MB / 369.3 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004342/0.1147, allocations: 158.7 kB / 369.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.1148, allocations: 55.64 kB / 369.5 MB, free: 3.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005423/0.1154, allocations: 0.5071 MB / 370 MB, free: 2.684 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.1154, allocations: 34.56 kB / 370 MB, free: 2.641 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.1154, allocations: 0 / 370 MB, free: 2.641 MB / 302.1 MB Notification: Performance of matching and sorting (n=20): time 0.002555/0.118, allocations: 0.7722 MB / 370.8 MB, free: 1.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.1181, allocations: 51.41 kB / 370.8 MB, free: 1.758 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1182, allocations: 157.8 kB / 371 MB, free: 1.598 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1182, allocations: 25.7 kB / 371 MB, free: 1.566 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.278e-05/0.1183, allocations: 147.8 kB / 371.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.69e-05/0.1184, allocations: 71 kB / 371.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.1185, allocations: 29.7 kB / 371.3 MB, free: 1.312 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1186, allocations: 330.8 kB / 371.6 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.1188, allocations: 79.94 kB / 371.7 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.1192, allocations: 193.4 kB / 371.8 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.1198, allocations: 301.3 kB / 372.1 MB, free: 328 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1198, allocations: 4 kB / 372.1 MB, free: 324 kB / 302.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007071/0.1205, allocations: 320.6 kB / 372.5 MB, free: 0 / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.1826/0.3031, allocations: 3.797 kB / 372.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.152e-05/0.3032, allocations: 3.406 kB / 372.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.3032, allocations: 5.594 kB / 372.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.3037, allocations: 78.2 kB / 372.5 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.389e-05/0.3038, allocations: 11.22 kB / 372.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.3041, allocations: 18.47 kB / 372.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.659e-05/0.3041, allocations: 16.59 kB / 372.6 MB, free: 19.66 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.0001531/0.3043, allocations: 137.5 kB / 372.7 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.3044, allocations: 17.38 kB / 372.7 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007691/0.3051, allocations: 242.1 kB / 373 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.3052, allocations: 3.797 kB / 373 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3052, allocations: 0.7188 kB / 373 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.3052, allocations: 1.125 kB / 373 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.3066, allocations: 0.6049 MB / 373.6 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3066, allocations: 1.812 kB / 373.6 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003163/0.3069, allocations: 54.09 kB / 373.6 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.3069, allocations: 2.125 kB / 373.6 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.307, allocations: 8.703 kB / 373.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.307, allocations: 6.828 kB / 373.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.307, allocations: 5.109 kB / 373.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000838/0.3078, allocations: 408.2 kB / 374.1 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.3079, allocations: 105.6 kB / 374.2 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.926e-05/0.308, allocations: 6.922 kB / 374.2 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.3082, allocations: 13.89 kB / 374.2 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3083, allocations: 16.55 kB / 374.2 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/0.3083, allocations: 12.64 kB / 374.2 MB, free: 18.93 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.591e-05/0.3084, allocations: 110.6 kB / 374.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3084, allocations: 0 / 374.3 MB, free: 18.85 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004051/0.3088, allocations: 64.08 kB / 374.4 MB, free: 18.85 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.0002466/0.3091, allocations: 130 kB / 374.5 MB, free: 18.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006339/0.3097, allocations: 223.7 kB / 374.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3097, allocations: 3.938 kB / 374.7 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.31, allocations: 89.39 kB / 374.8 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.3104, allocations: 39.42 kB / 374.9 MB, free: 18.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.3116, allocations: 0.605 MB / 375.5 MB, free: 18.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.3118, allocations: 0.7132 MB / 376.2 MB, free: 17.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.3119, allocations: 35.09 kB / 376.2 MB, free: 17.69 MB / 302.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3119, allocations: 0.75 kB / 376.2 MB, free: 17.69 MB / 302.1 MB Notification: Performance of Templates: time 0.005818/0.3177, allocations: 2.615 MB / 378.8 MB, free: 17.49 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.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