Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 169.3 kB / 24.28 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.226e-06/3.226e-06, allocations: 0 / 272.3 MB, free: 1.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.397e-05/3.72e-05, allocations: 2.312 kB / 272.3 MB, free: 1.875 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.0123/0.01234, allocations: 4.597 MB / 276.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.01684, allocations: 1.802 MB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.01699, allocations: 4 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000503/0.01749, allocations: 43.69 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009276/0.01842, allocations: 123.1 kB / 278.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.02, allocations: 259.2 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009632/0.02097, allocations: 294.7 kB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.02108, allocations: 13.3 kB / 279.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008374/0.02192, allocations: 171.6 kB / 279.6 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.02219, allocations: 67.8 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/0.02226, allocations: 8 kB / 279.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005103/0.02277, allocations: 99.73 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.02291, allocations: 39.89 kB / 279.8 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001763/0.02309, allocations: 59.91 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.02388, allocations: 239.2 kB / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.02388, allocations: 0 / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.02388, allocations: 0 / 280.1 MB, free: 10.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.02389, allocations: 0 / 280.1 MB, free: 10.05 MB / 266.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.001569/0.02546, allocations: 0.5037 MB / 280.6 MB, free: 9.508 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.02552, allocations: 16.03 kB / 280.6 MB, free: 9.492 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.02593, allocations: 48.64 kB / 280.6 MB, free: 9.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/0.02636, allocations: 152.4 kB / 280.8 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.0264, allocations: 8.656 kB / 280.8 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/0.02647, allocations: 24.27 kB / 280.8 MB, free: 9.238 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008672/0.02734, allocations: 385.2 kB / 281.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.02736, allocations: 192 / 281.2 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.02741, allocations: 12.12 kB / 281.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.02743, allocations: 4 kB / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005407/0.02797, allocations: 127.9 kB / 281.3 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002609/0.03057, allocations: 1.127 MB / 282.5 MB, free: 7.469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006424/0.03122, allocations: 139.3 kB / 282.6 MB, free: 7.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.03143, allocations: 47.66 kB / 282.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009089/0.03234, allocations: 404 kB / 283 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/0.03239, allocations: 41.39 kB / 283.1 MB, free: 6.805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.03239, allocations: 4 kB / 283.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.003758/0.03615, allocations: 0.6526 MB / 283.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.622e-05/0.03622, allocations: 55.41 kB / 283.8 MB, free: 6.051 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.03656, allocations: 233.7 kB / 284 MB, free: 5.805 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.0366, allocations: 29.7 kB / 284 MB, free: 5.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.03682, allocations: 198.8 kB / 284.2 MB, free: 5.57 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.03694, allocations: 79.39 kB / 284.3 MB, free: 5.492 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.03715, allocations: 71.34 kB / 284.4 MB, free: 5.414 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003914/0.03754, allocations: 0.5 MB / 284.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003485/0.03789, allocations: 71.97 kB / 285 MB, free: 4.832 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.03848, allocations: 234.6 kB / 285.2 MB, free: 4.535 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000984/0.03946, allocations: 329.7 kB / 285.5 MB, free: 4.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.19e-05/0.03947, allocations: 8 kB / 285.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001191/0.04066, allocations: 309.2 kB / 285.8 MB, free: 3.832 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.04069, allocations: 6.969 kB / 285.8 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/0.04071, allocations: 11.98 kB / 285.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/0.04074, allocations: 7.938 kB / 285.8 MB, free: 3.809 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006103/0.04135, allocations: 87.83 kB / 285.9 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/0.04137, allocations: 8 kB / 285.9 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.04172, allocations: 8 kB / 285.9 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.04178, allocations: 16 kB / 286 MB, free: 3.691 MB / 266.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 0.000275/0.04206, allocations: 188.4 kB / 286.1 MB, free: 3.496 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.04217, allocations: 19.91 kB / 286.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.04319, allocations: 230.6 kB / 286.4 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.0432, allocations: 3.938 kB / 286.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.0432, allocations: 0 / 286.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.04321, allocations: 3.984 kB / 286.4 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/0.04528, allocations: 0.5729 MB / 287 MB, free: 2.605 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.04529, allocations: 8.109 kB / 287 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004613/0.04576, allocations: 47.91 kB / 287 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.054e-05/0.04577, allocations: 4 kB / 287 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.0458, allocations: 8 kB / 287 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.04581, allocations: 0 / 287 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.04581, allocations: 4 kB / 287 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.04717, allocations: 450.8 kB / 287.5 MB, free: 2.059 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.0473, allocations: 27.91 kB / 287.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.04736, allocations: 8 kB / 287.5 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.04771, allocations: 15.98 kB / 287.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.04776, allocations: 7.984 kB / 287.5 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.491e-05/0.04781, allocations: 15.98 kB / 287.6 MB, free: 1.984 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.04799, allocations: 161.5 kB / 287.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.04799, allocations: 0 / 287.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006953/0.04869, allocations: 63.94 kB / 287.8 MB, free: 1.766 MB / 266.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.0003516/0.04904, allocations: 131.1 kB / 287.9 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009509/0.04999, allocations: 218.3 kB / 288.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.04999, allocations: 0.9375 kB / 288.1 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.05039, allocations: 103.8 kB / 288.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007065/0.0511, allocations: 43.77 kB / 288.3 MB, free: 1.266 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.05277, allocations: 441.9 kB / 288.7 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.05295, allocations: 107.3 kB / 288.8 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003653/0.05332, allocations: 41.94 kB / 288.8 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.05347, allocations: 24.48 kB / 288.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.05347, allocations: 4 kB / 288.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of Templates: time 0.01173/0.0652, allocations: 2.721 MB / 291.6 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.577650832943618]