Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 107.1 kB / 19.76 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002022/0.002022, allocations: 187.8 kB / 22.92 MB, free: 5.582 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.472/1.472, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001771/0.001771, allocations: 51.92 kB / 345.4 MB, free: 10.41 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2954, allocations: 49.12 MB / 394.6 MB, free: 9.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01657/0.312, allocations: 16.1 MB / 410.7 MB, free: 14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004267/0.3163, allocations: 1.94 MB / 412.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.3166, allocations: 4.125 kB / 412.6 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000921/0.3175, allocations: 170.6 kB / 412.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.3187, allocations: 314.9 kB / 413.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.3198, allocations: 281.6 kB / 413.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001558/0.3214, allocations: 0.8509 MB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002659/0.3217, allocations: 77.98 kB / 414.3 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.3234, allocations: 0.5151 MB / 414.8 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006482/0.3241, allocations: 292.6 kB / 415.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.3241, allocations: 29.28 kB / 415.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.3243, allocations: 39.09 kB / 415.2 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.3245, allocations: 102.8 kB / 415.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003122/0.3248, allocations: 177.8 kB / 415.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008216/0.3257, allocations: 434.2 kB / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3257, allocations: 0 / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3257, allocations: 0 / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3257, allocations: 0 / 415.8 MB, free: 10.66 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001433/0.3271, allocations: 0.5934 MB / 416.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.3272, allocations: 9.406 kB / 416.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004985/0.3277, allocations: 44.77 kB / 416.5 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007068/0.3284, allocations: 284.7 kB / 416.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.3284, allocations: 18.19 kB / 416.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.3285, allocations: 29.16 kB / 416.8 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.3292, allocations: 309.9 kB / 417.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.696e-05/0.3293, allocations: 1.188 kB / 417.1 MB, free: 9.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.099e-05/0.3293, allocations: 11.38 kB / 417.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.3293, allocations: 9.688 kB / 417.1 MB, free: 9.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005381/0.3299, allocations: 203.7 kB / 417.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.3325, allocations: 1.428 MB / 418.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.333, allocations: 177.1 kB / 418.9 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.3332, allocations: 92.08 kB / 419 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.3333, allocations: 3.5 kB / 419 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.98e-05/0.3333, allocations: 36.3 kB / 419.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.195e-06/0.3333, allocations: 0 / 419.1 MB, free: 7.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.003671/0.337, allocations: 1.003 MB / 420.1 MB, free: 7.191 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.3371, allocations: 55.28 kB / 420.1 MB, free: 7.129 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.3375, allocations: 258.1 kB / 420.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.356e-05/0.3376, allocations: 30.86 kB / 420.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.3378, allocations: 190.5 kB / 420.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.3379, allocations: 94.36 kB / 420.7 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.3381, allocations: 61.8 kB / 420.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.3383, allocations: 336.4 kB / 421.1 MB, free: 6.277 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002484/0.3385, allocations: 83.69 kB / 421.2 MB, free: 6.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.3389, allocations: 183.5 kB / 421.3 MB, free: 6.074 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006387/0.3395, allocations: 280 kB / 421.6 MB, free: 5.863 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3395, allocations: 5.125 kB / 421.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001143/0.3407, allocations: 389.6 kB / 422 MB, free: 5.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3407, allocations: 6.219 kB / 422 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.3407, allocations: 6.969 kB / 422 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.3411, allocations: 60.42 kB / 422.1 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.3416, allocations: 68.88 kB / 422.1 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.3451, allocations: 2.889 MB / 425 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.3456, allocations: 11.59 kB / 425 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.3456, allocations: 19.62 kB / 425.1 MB, free: 2.598 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002784/0.3459, allocations: 154.4 kB / 425.2 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.346, allocations: 29.78 kB / 425.2 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.3461, allocations: 40.11 kB / 425.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.3461, allocations: 2.406 kB / 425.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/0.3461, allocations: 1.219 kB / 425.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009833/0.3471, allocations: 0.5632 MB / 425.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001644/0.3487, allocations: 0.6952 MB / 426.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3487, allocations: 0 / 426.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.349, allocations: 46.28 kB / 426.6 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003421/0.3494, allocations: 57.39 kB / 426.6 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.3494, allocations: 9.359 kB / 426.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002047/0.3515, allocations: 1.491 MB / 428.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3515, allocations: 0 / 428.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3526, allocations: 483.8 kB / 428.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.3528, allocations: 99.83 kB / 428.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.036e-05/0.3528, allocations: 7.031 kB / 428.7 MB, free: 15.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003229/0.3531, allocations: 6.188 kB / 428.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/0.3532, allocations: 19.84 kB / 428.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.3533, allocations: 5.781 kB / 428.7 MB, free: 15.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003163/0.3536, allocations: 193.1 kB / 428.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3536, allocations: 0 / 428.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008145/0.3544, allocations: 87 kB / 429 MB, free: 15.1 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.3546, allocations: 106.2 kB / 429.1 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.3558, allocations: 470.3 kB / 429.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.3558, allocations: 1.375 kB / 429.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006157/0.3564, allocations: 230.1 kB / 429.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.3577, allocations: 158.9 kB / 430 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.3596, allocations: 0.7051 MB / 430.7 MB, free: 13.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005112/0.3601, allocations: 0.7618 MB / 431.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003471/0.3604, allocations: 53.97 kB / 431.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.3605, allocations: 29.72 kB / 431.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3605, allocations: 0 / 431.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of Templates: time 0.01569/0.3762, allocations: 5.886 MB / 437.4 MB, free: 7.781 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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.9317051796242595]