Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009637/0.0009636, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.202/1.202, allocations: 205.1 MB / 223.8 MB, free: 8.492 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009626/0.0009629, allocations: 102.2 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008853/0.0008854, allocations: 43.92 kB / 327.2 MB, free: 352 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1899, allocations: 46.62 MB / 373.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004192/0.1941, allocations: 4.504 MB / 378.3 MB, free: 42.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.1954, allocations: 1.819 MB / 380.1 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.1955, allocations: 5.125 kB / 380.1 MB, free: 40.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.1957, allocations: 29.53 kB / 380.2 MB, free: 40.69 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.196, allocations: 121.7 kB / 380.3 MB, free: 40.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004729/0.1964, allocations: 237 kB / 380.5 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002899/0.1967, allocations: 369.6 kB / 380.9 MB, free: 40.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.739e-05/0.1968, allocations: 16.02 kB / 380.9 MB, free: 40.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.197, allocations: 124.5 kB / 381 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1971, allocations: 81.23 kB / 381.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.1971, allocations: 5.438 kB / 381.1 MB, free: 40.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.1973, allocations: 107.5 kB / 381.2 MB, free: 40.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.1974, allocations: 34.78 kB / 381.2 MB, free: 40.06 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.736e-05/0.1975, allocations: 73.33 kB / 381.3 MB, free: 40.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1977, allocations: 208.5 kB / 381.5 MB, free: 39.9 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1977, allocations: 0 / 381.5 MB, free: 39.9 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1978, allocations: 0 / 381.5 MB, free: 39.9 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1978, allocations: 0 / 381.5 MB, free: 39.9 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.0007463/0.1985, allocations: 493.8 kB / 382 MB, free: 39.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1986, allocations: 9.125 kB / 382 MB, free: 39.44 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1987, allocations: 25.17 kB / 382 MB, free: 39.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.1989, allocations: 206.4 kB / 382.2 MB, free: 39.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1989, allocations: 9.781 kB / 382.2 MB, free: 39.2 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.1989, allocations: 17.97 kB / 382.3 MB, free: 39.19 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1993, allocations: 218.3 kB / 382.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1993, allocations: 5.219 kB / 382.5 MB, free: 39.02 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.1993, allocations: 10.38 kB / 382.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1993, allocations: 4.188 kB / 382.5 MB, free: 39.01 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.1997, allocations: 151.4 kB / 382.6 MB, free: 38.94 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009571/0.2006, allocations: 0.9431 MB / 383.6 MB, free: 38.03 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.201, allocations: 147.9 kB / 383.7 MB, free: 37.95 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.2011, allocations: 59.27 kB / 383.8 MB, free: 37.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.2015, allocations: 0.5058 MB / 384.3 MB, free: 37.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.265e-05/0.2015, allocations: 31.72 kB / 384.3 MB, free: 37.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.2015, allocations: 0 / 384.3 MB, free: 37.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.002164/0.2037, allocations: 0.7716 MB / 385.1 MB, free: 36.81 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.2037, allocations: 61.72 kB / 385.2 MB, free: 36.74 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.523e-05/0.2038, allocations: 155.4 kB / 385.3 MB, free: 36.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.2038, allocations: 26.95 kB / 385.3 MB, free: 36.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.2039, allocations: 139.8 kB / 385.5 MB, free: 36.44 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.2039, allocations: 76.14 kB / 385.5 MB, free: 36.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.533e-05/0.204, allocations: 62.94 kB / 385.6 MB, free: 36.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.97e-05/0.2041, allocations: 323.1 kB / 385.9 MB, free: 36.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002428/0.2043, allocations: 82.56 kB / 386 MB, free: 35.97 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.2046, allocations: 197.5 kB / 386.2 MB, free: 35.78 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/0.2051, allocations: 295.8 kB / 386.5 MB, free: 35.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.2051, allocations: 4 kB / 386.5 MB, free: 35.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006032/0.2057, allocations: 322.7 kB / 386.8 MB, free: 35.37 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2057, allocations: 5.938 kB / 386.8 MB, free: 35.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2057, allocations: 3.375 kB / 386.8 MB, free: 35.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.2057, allocations: 6.031 kB / 386.8 MB, free: 35.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.2061, allocations: 81.11 kB / 386.9 MB, free: 35.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.2061, allocations: 9.062 kB / 386.9 MB, free: 35.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.2063, allocations: 17.11 kB / 386.9 MB, free: 35.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.2063, allocations: 23.89 kB / 386.9 MB, free: 35.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.714e-05/0.2064, allocations: 135.3 kB / 387.1 MB, free: 35.19 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.2065, allocations: 15.78 kB / 387.1 MB, free: 35.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005785/0.2071, allocations: 236.6 kB / 387.3 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.2071, allocations: 6.344 kB / 387.3 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2071, allocations: 0 / 387.3 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2071, allocations: 0 / 387.3 MB, free: 35.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/0.2081, allocations: 0.5986 MB / 387.9 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2081, allocations: 0.9688 kB / 387.9 MB, free: 34.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.2084, allocations: 53.52 kB / 388 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.616e-06/0.2084, allocations: 6.156 kB / 388 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2085, allocations: 11.61 kB / 388 MB, free: 34.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2085, allocations: 9.219 kB / 388 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2085, allocations: 2.062 kB / 388 MB, free: 34.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.2098, allocations: 1.334 MB / 389.3 MB, free: 33.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.2098, allocations: 93.31 kB / 389.4 MB, free: 33.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.2099, allocations: 7.031 kB / 389.4 MB, free: 33.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.2101, allocations: 15.11 kB / 389.5 MB, free: 33.11 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.503e-05/0.2101, allocations: 11.08 kB / 389.5 MB, free: 33.1 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.2101, allocations: 14.3 kB / 389.5 MB, free: 33.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.871e-05/0.2102, allocations: 109 kB / 389.6 MB, free: 33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2102, allocations: 0 / 389.6 MB, free: 33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.2106, allocations: 87.98 kB / 389.7 MB, free: 32.94 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 (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.0002061/0.2108, allocations: 123.2 kB / 389.8 MB, free: 32.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004903/0.2113, allocations: 222 kB / 390 MB, free: 32.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2113, allocations: 0.9375 kB / 390 MB, free: 32.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.2115, allocations: 100.1 kB / 390.1 MB, free: 32.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.2119, allocations: 31.97 kB / 390.1 MB, free: 32.47 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.2128, allocations: 0.6787 MB / 390.8 MB, free: 31.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.2129, allocations: 0.7168 MB / 391.5 MB, free: 31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.2131, allocations: 45.88 kB / 391.6 MB, free: 30.95 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.364e-05/0.2132, allocations: 27.42 kB / 391.6 MB, free: 30.92 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2132, allocations: 4 kB / 391.6 MB, free: 30.91 MB / 298.7 MB Notification: Performance of Templates: time 0.004171/0.2174, allocations: 2.669 MB / 394.3 MB, free: 28.25 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches