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/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.001933/0.001933, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 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.003004/0.003004, allocations: 204.8 kB / 25.24 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.598/1.598, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] 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 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_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 54.56 kB / 348.4 MB, free: 9.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2965, allocations: 49.16 MB / 397.6 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005102/0.3016, allocations: 4.525 MB / 402.1 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3034, allocations: 1.833 MB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.279e-05/0.3035, allocations: 1.438 kB / 403.9 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.3038, allocations: 38.62 kB / 404 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.3042, allocations: 132.6 kB / 404.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.3048, allocations: 250.7 kB / 404.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.3052, allocations: 294.8 kB / 404.6 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.854e-05/0.3052, allocations: 6.828 kB / 404.7 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3055, allocations: 137.8 kB / 404.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001332/0.3056, allocations: 83.88 kB / 404.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.3057, allocations: 12.12 kB / 404.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.3059, allocations: 93.2 kB / 405 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.306, allocations: 44.98 kB / 405 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.719e-05/0.3061, allocations: 72.98 kB / 405.1 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003438/0.3064, allocations: 219.9 kB / 405.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3064, allocations: 0 / 405.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3064, allocations: 0 / 405.3 MB, free: 4.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.3064, allocations: 0 / 405.3 MB, free: 4.32 MB / 318.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.0008871/0.3073, allocations: 412.9 kB / 405.7 MB, free: 4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.3074, allocations: 17.45 kB / 405.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.3075, allocations: 20.28 kB / 405.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.3078, allocations: 155.7 kB / 405.9 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.3078, allocations: 14.69 kB / 405.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.79e-05/0.3079, allocations: 13.47 kB / 405.9 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.3083, allocations: 223.5 kB / 406.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.3083, allocations: 1.156 kB / 406.1 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.3083, allocations: 11.98 kB / 406.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.3083, allocations: 3.406 kB / 406.2 MB, free: 3.68 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.3087, allocations: 150 kB / 406.3 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.3098, allocations: 0.8908 MB / 407.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003894/0.3102, allocations: 152.8 kB / 407.3 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.3104, allocations: 49.36 kB / 407.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/0.3108, allocations: 343.3 kB / 407.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.3108, allocations: 36.52 kB / 407.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.3108, allocations: 0 / 407.8 MB, free: 2.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002374/0.3132, allocations: 0.6894 MB / 408.5 MB, free: 2.109 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.3132, allocations: 54.17 kB / 408.5 MB, free: 2.047 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.3133, allocations: 152 kB / 408.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.3133, allocations: 31.27 kB / 408.7 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.645e-05/0.3134, allocations: 152.8 kB / 408.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.559e-05/0.3134, allocations: 68.14 kB / 408.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-05/0.3135, allocations: 61.41 kB / 409 MB, free: 1.664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.85e-05/0.3136, allocations: 331.5 kB / 409.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.3138, allocations: 84.45 kB / 409.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.3141, allocations: 197.6 kB / 409.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.3146, allocations: 293 kB / 409.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3146, allocations: 1.188 kB / 409.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006279/0.3152, allocations: 323.3 kB / 410.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3152, allocations: 5.5 kB / 410.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3152, allocations: 4.125 kB / 410.2 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.3153, allocations: 9.906 kB / 410.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.3156, allocations: 89.97 kB / 410.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3156, allocations: 6.344 kB / 410.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.3159, allocations: 17.33 kB / 410.3 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.3159, allocations: 12.45 kB / 410.3 MB, free: 0.7734 MB / 318.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 9.27e-05/0.316, allocations: 139.3 kB / 410.4 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.052e-05/0.316, allocations: 16.09 kB / 410.5 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006077/0.3166, allocations: 249.4 kB / 410.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3166, allocations: 1.375 kB / 410.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3167, allocations: 0.75 kB / 410.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3167, allocations: 2.031 kB / 410.7 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.3179, allocations: 0.5639 MB / 411.3 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.3179, allocations: 1.312 kB / 411.3 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.3182, allocations: 56.56 kB / 411.3 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3182, allocations: 2.5 kB / 411.3 MB, free: 108 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.3182, allocations: 8.484 kB / 411.3 MB, free: 104 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.3182, allocations: 6.656 kB / 411.3 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3182, allocations: 5.281 kB / 411.3 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.3191, allocations: 412.1 kB / 411.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.3191, allocations: 13.28 kB / 411.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.3191, allocations: 16.09 kB / 411.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002423/0.3194, allocations: 10.22 kB / 411.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.537e-05/0.3194, allocations: 15.09 kB / 411.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.3194, allocations: 9.922 kB / 411.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.909e-05/0.3195, allocations: 107.4 kB / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3195, allocations: 0 / 411.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.3199, allocations: 59.72 kB / 412 MB, free: 15.72 MB / 334.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.0002613/0.3202, allocations: 136.4 kB / 412.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006437/0.3208, allocations: 219.7 kB / 412.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3208, allocations: 5.281 kB / 412.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.3211, allocations: 89.55 kB / 412.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3215, allocations: 46.58 kB / 412.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3227, allocations: 496 kB / 412.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.323, allocations: 0.7162 MB / 413.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3232, allocations: 27.19 kB / 413.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3232, allocations: 1.219 kB / 413.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of Templates: time 0.005194/0.3284, allocations: 2.665 MB / 416.4 MB, free: 13.1 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.5346819749102]