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.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.0008788/0.0008788, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0009076/0.0009076, allocations: 160.5 kB / 25.45 MB, free: 9.348 MB / 18.57 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 0.9212/0.9212, allocations: 158.6 MB / 187.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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.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: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 299.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.007e-05, allocations: 6.219 kB / 299.8 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01008/0.0101, allocations: 14.48 MB / 314.2 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.01153, allocations: 1.772 MB / 316 MB, free: 6.539 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.01166, allocations: 7.938 kB / 316 MB, free: 6.531 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004338/0.0121, allocations: 166.9 kB / 316.2 MB, free: 6.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004095/0.01251, allocations: 333.9 kB / 316.5 MB, free: 6.039 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003962/0.0129, allocations: 299.3 kB / 316.8 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.01342, allocations: 0.8442 MB / 317.6 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.01356, allocations: 72.88 kB / 317.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005914/0.01415, allocations: 0.6344 MB / 318.4 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.01438, allocations: 255.2 kB / 318.6 MB, free: 3.941 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.01442, allocations: 28 kB / 318.6 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.666e-05/0.01449, allocations: 39.94 kB / 318.7 MB, free: 3.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.01457, allocations: 99.62 kB / 318.8 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.01466, allocations: 135.8 kB / 318.9 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.01499, allocations: 450.7 kB / 319.3 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.015, allocations: 0 / 319.3 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.015, allocations: 0 / 319.3 MB, free: 3.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.015, allocations: 3.938 kB / 319.3 MB, free: 3.199 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000872/0.01588, allocations: 0.5131 MB / 319.9 MB, free: 2.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.01591, allocations: 11.98 kB / 319.9 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.01606, allocations: 44.73 kB / 319.9 MB, free: 2.602 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.01633, allocations: 221.3 kB / 320.1 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.01635, allocations: 20.81 kB / 320.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.01638, allocations: 24.38 kB / 320.2 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.01673, allocations: 453.8 kB / 320.6 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.01675, allocations: 8.125 kB / 320.6 MB, free: 1.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.496e-05/0.01677, allocations: 20.11 kB / 320.6 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.01678, allocations: 4 kB / 320.6 MB, free: 1.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.01698, allocations: 189.8 kB / 320.8 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009323/0.01792, allocations: 1.125 MB / 322 MB, free: 416 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.01814, allocations: 158.7 kB / 322.1 MB, free: 248 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.01823, allocations: 81.2 kB / 322.2 MB, free: 164 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.01825, allocations: 11.94 kB / 322.2 MB, free: 152 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.01828, allocations: 42.5 kB / 322.2 MB, free: 100 kB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.123e-06/0.01828, allocations: 0 / 322.2 MB, free: 100 kB / 298.7 MB Notification: Performance of matching and sorting (n=26): time 0.001384/0.01966, allocations: 0.8459 MB / 323.1 MB, free: 15.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.01969, allocations: 59.41 kB / 323.1 MB, free: 15.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.01984, allocations: 240 kB / 323.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.01986, allocations: 29.7 kB / 323.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.01994, allocations: 188.4 kB / 323.6 MB, free: 14.67 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.01998, allocations: 95.16 kB / 323.7 MB, free: 14.58 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.02005, allocations: 65.66 kB / 323.8 MB, free: 14.51 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.02013, allocations: 334.8 kB / 324.1 MB, free: 14.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.02023, allocations: 83.97 kB / 324.2 MB, free: 14.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.02036, allocations: 182.9 kB / 324.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.02061, allocations: 290.9 kB / 324.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.02061, allocations: 0 / 324.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003997/0.02101, allocations: 382.8 kB / 325 MB, free: 13.16 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.02103, allocations: 7.984 kB / 325 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.02103, allocations: 4 kB / 325 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.02119, allocations: 66.05 kB / 325.1 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.02135, allocations: 63.92 kB / 325.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.02291, allocations: 2.622 MB / 327.8 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.393e-05/0.02301, allocations: 8 kB / 327.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.02302, allocations: 16 kB / 327.8 MB, free: 10.17 MB / 314.7 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.0001103/0.02313, allocations: 157.6 kB / 327.9 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.02316, allocations: 31.73 kB / 328 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.287e-05/0.0232, allocations: 30.11 kB / 328 MB, free: 9.945 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.0232, allocations: 11.97 kB / 328 MB, free: 9.934 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.0232, allocations: 4.062 kB / 328 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003667/0.02357, allocations: 0.5513 MB / 328.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.02415, allocations: 0.6018 MB / 329.2 MB, free: 8.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.02415, allocations: 4 kB / 329.2 MB, free: 8.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.702e-05/0.02425, allocations: 39.98 kB / 329.2 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.02437, allocations: 60.7 kB / 329.3 MB, free: 8.539 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.02438, allocations: 11.98 kB / 329.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006442/0.02503, allocations: 1.35 MB / 330.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.02503, allocations: 7.922 kB / 330.6 MB, free: 7.066 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.02544, allocations: 461.7 kB / 331.1 MB, free: 6.594 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.321e-05/0.02547, allocations: 19.89 kB / 331.1 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.02549, allocations: 8 kB / 331.1 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.02557, allocations: 7.938 kB / 331.1 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.02561, allocations: 27.83 kB / 331.1 MB, free: 6.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.02562, allocations: 12.14 kB / 331.2 MB, free: 6.52 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.461e-05/0.02572, allocations: 164.8 kB / 331.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02572, allocations: 0 / 331.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002371/0.02595, allocations: 84 kB / 331.4 MB, free: 6.277 MB / 314.7 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 9.193e-05/0.02604, allocations: 107.3 kB / 331.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004729/0.02652, allocations: 465.7 kB / 332 MB, free: 5.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.02652, allocations: 0 / 332 MB, free: 5.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.02672, allocations: 230.5 kB / 332.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004405/0.02716, allocations: 127.9 kB / 332.3 MB, free: 5.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007445/0.0279, allocations: 0.6427 MB / 333 MB, free: 4.641 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.02801, allocations: 155 kB / 333.1 MB, free: 4.473 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.02808, allocations: 28.5 kB / 333.1 MB, free: 4.445 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02808, allocations: 0 / 333.1 MB, free: 4.445 MB / 314.7 MB Notification: Performance of Templates: time 0.0053/0.03338, allocations: 5.818 MB / 339 MB, free: 14.62 MB / 330.7 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.667455463670194]