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.001379/0.001379, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001894/0.001894, allocations: 165.3 kB / 25.33 MB, free: 9.457 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.869/0.869, allocations: 158.6 MB / 187.2 MB, free: 2.492 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.974e-06/1.974e-06, allocations: 0 / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.39e-05/3.588e-05, allocations: 6.312 kB / 251.1 MB, free: 3.531 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.007715/0.007751, allocations: 5.481 MB / 256.6 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.009167, allocations: 0.6543 MB / 257.2 MB, free: 13.35 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.009384, allocations: 7.938 kB / 257.2 MB, free: 13.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004962/0.00988, allocations: 95.34 kB / 257.3 MB, free: 13.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007482/0.01063, allocations: 337.8 kB / 257.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007142/0.01134, allocations: 295.5 kB / 257.9 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.01246, allocations: 0.8755 MB / 258.8 MB, free: 11.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.01269, allocations: 76.73 kB / 258.9 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.01452, allocations: 0.6192 MB / 259.5 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000508/0.01503, allocations: 263.2 kB / 259.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.01509, allocations: 28 kB / 259.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001541/0.01525, allocations: 36 kB / 259.8 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.01537, allocations: 99.64 kB / 259.9 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.01554, allocations: 131.8 kB / 260.1 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.01603, allocations: 287.1 kB / 260.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.01603, allocations: 0 / 260.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.01603, allocations: 0 / 260.3 MB, free: 10.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.01604, allocations: 0 / 260.3 MB, free: 10.23 MB / 250.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.001004/0.01704, allocations: 0.6208 MB / 261 MB, free: 9.57 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.01711, allocations: 11.98 kB / 261 MB, free: 9.559 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005426/0.01765, allocations: 80.45 kB / 261.1 MB, free: 9.48 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.01807, allocations: 224.1 kB / 261.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.0181, allocations: 20.88 kB / 261.3 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.01816, allocations: 24.38 kB / 261.3 MB, free: 9.191 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005301/0.01869, allocations: 425.6 kB / 261.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.0187, allocations: 192 / 261.7 MB, free: 8.703 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/0.01874, allocations: 24.06 kB / 261.8 MB, free: 8.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.01876, allocations: 4 kB / 261.8 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.01902, allocations: 122.8 kB / 261.9 MB, free: 8.555 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.02096, allocations: 1.429 MB / 263.3 MB, free: 7.062 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.02128, allocations: 127.1 kB / 263.4 MB, free: 6.926 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.0214, allocations: 59.98 kB / 263.5 MB, free: 6.863 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.335e-05/0.02143, allocations: 11.92 kB / 263.5 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.02147, allocations: 41.33 kB / 263.5 MB, free: 6.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.475e-06/0.02147, allocations: 0 / 263.5 MB, free: 6.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.002121/0.02359, allocations: 0.7234 MB / 264.3 MB, free: 6.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.02363, allocations: 55.41 kB / 264.3 MB, free: 5.965 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.02391, allocations: 274.6 kB / 264.6 MB, free: 5.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.02394, allocations: 33.7 kB / 264.6 MB, free: 5.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.02412, allocations: 239.1 kB / 264.9 MB, free: 5.402 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.0242, allocations: 95.17 kB / 265 MB, free: 5.309 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.02432, allocations: 71.31 kB / 265 MB, free: 5.23 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.02454, allocations: 0.504 MB / 265.5 MB, free: 4.715 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.02467, allocations: 47.97 kB / 265.6 MB, free: 4.668 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.02488, allocations: 179.7 kB / 265.7 MB, free: 4.438 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.02523, allocations: 251.7 kB / 266 MB, free: 4.137 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.02523, allocations: 4 kB / 266 MB, free: 4.133 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009423/0.02618, allocations: 324.5 kB / 266.3 MB, free: 3.801 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.0262, allocations: 4 kB / 266.3 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.02621, allocations: 4.375 kB / 266.3 MB, free: 3.793 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.02649, allocations: 71.25 kB / 266.4 MB, free: 3.715 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.02677, allocations: 63.91 kB / 266.5 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/0.02967, allocations: 3.527 MB / 270 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.02985, allocations: 8 kB / 270 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.02988, allocations: 19.98 kB / 270 MB, free: 15.85 MB / 266.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.0001964/0.03008, allocations: 176.5 kB / 270.2 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.042e-05/0.03016, allocations: 39.8 kB / 270.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.03022, allocations: 29.97 kB / 270.2 MB, free: 15.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.03023, allocations: 4 kB / 270.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.03024, allocations: 0 / 270.3 MB, free: 15.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005827/0.03082, allocations: 0.5032 MB / 270.8 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009435/0.03177, allocations: 0.6021 MB / 271.4 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.03177, allocations: 4.031 kB / 271.4 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001735/0.03194, allocations: 39.97 kB / 271.4 MB, free: 14.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.03217, allocations: 55.56 kB / 271.5 MB, free: 14.25 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.03219, allocations: 11.98 kB / 271.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001524/0.03371, allocations: 1.783 MB / 273.2 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.03372, allocations: 4 kB / 273.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.03433, allocations: 428.7 kB / 273.7 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.03437, allocations: 19.86 kB / 273.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.0344, allocations: 4 kB / 273.7 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.03456, allocations: 11.94 kB / 273.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.03461, allocations: 27.95 kB / 273.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.03463, allocations: 8 kB / 273.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001467/0.03478, allocations: 192.8 kB / 273.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.03478, allocations: 0 / 273.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004829/0.03526, allocations: 88 kB / 274 MB, free: 11.53 MB / 266.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.0001619/0.03542, allocations: 95.25 kB / 274.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007594/0.03618, allocations: 0.5222 MB / 274.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.03619, allocations: 4 kB / 274.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003209/0.03651, allocations: 265.4 kB / 274.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.03723, allocations: 139.1 kB / 275 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.03883, allocations: 0.6076 MB / 275.6 MB, free: 9.812 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.327e-05/0.03893, allocations: 92.56 kB / 275.7 MB, free: 9.703 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.03914, allocations: 46.95 kB / 275.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.587e-05/0.03922, allocations: 24.5 kB / 275.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of SimCode: time 1.844e-06/0.03922, allocations: 0 / 275.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of Templates: time 0.01069/0.04991, allocations: 5.496 MB / 281.3 MB, free: 4.172 MB / 266.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 -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.778954512439668]