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.0007411/0.0007411, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001813, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007162/0.0007162, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001272/0.001988, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.92/0.92, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1646/1.085, allocations: 49.48 MB / 220.6 MB, free: 1.445 MB / 218.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.864e-06/1.864e-06, allocations: 0 / 221.9 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.667e-05/2.853e-05, allocations: 6.109 kB / 221.9 MB, free: 136 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.004985/0.005014, allocations: 5.533 MB / 227.4 MB, free: 10.56 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009506/0.005965, allocations: 0.6659 MB / 228.1 MB, free: 9.895 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.006102, allocations: 7.938 kB / 228.1 MB, free: 9.887 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.006369, allocations: 95.36 kB / 228.2 MB, free: 9.793 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004252/0.006794, allocations: 341.8 kB / 228.5 MB, free: 9.457 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004959/0.00729, allocations: 303.3 kB / 228.8 MB, free: 9.16 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007006/0.007991, allocations: 0.8794 MB / 229.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.008144, allocations: 78.78 kB / 229.8 MB, free: 8.203 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000862/0.009006, allocations: 0.6279 MB / 230.4 MB, free: 7.574 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.009285, allocations: 227.3 kB / 230.6 MB, free: 7.352 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.009324, allocations: 28 kB / 230.6 MB, free: 7.324 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.009462, allocations: 47.92 kB / 230.7 MB, free: 7.277 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.178e-05/0.009543, allocations: 75.72 kB / 230.8 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.009658, allocations: 115.8 kB / 230.9 MB, free: 7.09 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.01, allocations: 251.2 kB / 231.1 MB, free: 6.844 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.469e-05/0.01002, allocations: 0 / 231.1 MB, free: 6.844 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.01002, allocations: 4 kB / 231.1 MB, free: 6.84 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.01003, allocations: 0 / 231.1 MB, free: 6.84 MB / 234.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.0007066/0.01074, allocations: 0.5621 MB / 231.7 MB, free: 6.254 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.01077, allocations: 8.031 kB / 231.7 MB, free: 6.246 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/0.01101, allocations: 157.8 kB / 231.8 MB, free: 6.074 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.01127, allocations: 201.2 kB / 232 MB, free: 5.852 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.01128, allocations: 16.88 kB / 232.1 MB, free: 5.836 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.01132, allocations: 36.36 kB / 232.1 MB, free: 5.801 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.01162, allocations: 385.3 kB / 232.5 MB, free: 5.359 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.01163, allocations: 0 / 232.5 MB, free: 5.359 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.01166, allocations: 12 kB / 232.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01167, allocations: 8 kB / 232.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.01178, allocations: 83.38 kB / 232.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009331/0.01272, allocations: 0.9683 MB / 233.5 MB, free: 4.25 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.01288, allocations: 110.5 kB / 233.6 MB, free: 4.133 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.659e-05/0.01292, allocations: 49.2 kB / 233.7 MB, free: 4.082 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.01295, allocations: 7.938 kB / 233.7 MB, free: 4.074 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.01298, allocations: 34.56 kB / 233.7 MB, free: 4.031 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 2.014e-06/0.01298, allocations: 0 / 233.7 MB, free: 4.031 MB / 234.7 MB Notification: Performance of matching and sorting (n=26): time 0.00137/0.01435, allocations: 0.6707 MB / 234.4 MB, free: 3.32 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.01438, allocations: 55.41 kB / 234.5 MB, free: 3.254 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.01451, allocations: 219.2 kB / 234.7 MB, free: 3.027 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.01453, allocations: 33.7 kB / 234.7 MB, free: 2.988 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.0146, allocations: 180.3 kB / 234.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.728e-05/0.01465, allocations: 99.14 kB / 235 MB, free: 2.711 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.241e-05/0.01471, allocations: 65.45 kB / 235 MB, free: 2.641 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.492e-05/0.0148, allocations: 338.7 kB / 235.4 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.01484, allocations: 31.98 kB / 235.4 MB, free: 2.27 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.031e-05/0.01493, allocations: 127 kB / 235.5 MB, free: 2.105 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.0151, allocations: 193.8 kB / 235.7 MB, free: 1.875 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.0151, allocations: 0 / 235.7 MB, free: 1.875 MB / 234.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002915/0.01539, allocations: 235 kB / 236 MB, free: 1.633 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.01541, allocations: 7.938 kB / 236 MB, free: 1.625 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01541, allocations: 7.938 kB / 236 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000168/0.01558, allocations: 49.67 kB / 236 MB, free: 1.562 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.01579, allocations: 84.2 kB / 236.1 MB, free: 1.48 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/0.01706, allocations: 2.38 MB / 238.5 MB, free: 14.92 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.01717, allocations: 11.94 kB / 238.5 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.01719, allocations: 15.98 kB / 238.5 MB, free: 14.89 MB / 250.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 9.885e-05/0.01729, allocations: 128.8 kB / 238.6 MB, free: 14.76 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.01732, allocations: 27.97 kB / 238.7 MB, free: 14.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.01736, allocations: 33.95 kB / 238.7 MB, free: 14.7 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.01737, allocations: 8 kB / 238.7 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.01737, allocations: 4.031 kB / 238.7 MB, free: 14.69 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002833/0.01766, allocations: 472.4 kB / 239.2 MB, free: 14.14 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.01815, allocations: 408.5 kB / 239.6 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.01815, allocations: 0 / 239.6 MB, free: 13.71 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001382/0.01829, allocations: 51.97 kB / 239.6 MB, free: 13.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.561e-05/0.01832, allocations: 23.81 kB / 239.6 MB, free: 13.63 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001324/0.01845, allocations: 48.81 kB / 239.7 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.01846, allocations: 4 kB / 239.7 MB, free: 13.58 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006066/0.01907, allocations: 1.213 MB / 240.9 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.01907, allocations: 4 kB / 240.9 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.01935, allocations: 313.7 kB / 241.2 MB, free: 11.95 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.01937, allocations: 8 kB / 241.2 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.457e-05/0.01945, allocations: 0 / 241.2 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.01948, allocations: 27.89 kB / 241.2 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.01949, allocations: 8 kB / 241.3 MB, free: 11.91 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.57e-05/0.01955, allocations: 58.28 kB / 241.3 MB, free: 11.85 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01955, allocations: 0 / 241.3 MB, free: 11.85 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002428/0.01979, allocations: 96.06 kB / 241.4 MB, free: 11.75 MB / 250.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 0.0001227/0.01992, allocations: 80.36 kB / 241.5 MB, free: 11.67 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.02033, allocations: 405.8 kB / 241.9 MB, free: 11.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.276e-05/0.02035, allocations: 4 kB / 241.9 MB, free: 11.24 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.02052, allocations: 195.3 kB / 242.1 MB, free: 11.04 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.02092, allocations: 164.9 kB / 242.2 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.02501, allocations: 0.5902 MB / 242.8 MB, free: 10.25 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.273e-05/0.02507, allocations: 100.4 kB / 242.9 MB, free: 10.13 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001569/0.02523, allocations: 42.95 kB / 243 MB, free: 10.09 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002031/0.02543, allocations: 141.2 kB / 243.1 MB, free: 9.949 MB / 250.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02544, allocations: 4 kB / 243.1 MB, free: 9.945 MB / 250.7 MB Notification: Performance of Templates: time 0.007588/0.03302, allocations: 5.962 MB / 249.1 MB, free: 4.008 MB / 250.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6303380439057946]