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.0009094/0.0009094, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.0009782/0.0009782, allocations: 166.8 kB / 25.7 MB, free: 8.406 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.8319/0.8319, allocations: 158.6 MB / 187.6 MB, free: 2.781 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.463e-06/1.463e-06, allocations: 0 / 251.6 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.632e-05/1.778e-05, allocations: 2.312 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.006009/0.006027, allocations: 5.477 MB / 257.1 MB, free: 1.715 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.006974, allocations: 0.658 MB / 257.7 MB, free: 1.055 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.007109, allocations: 4 kB / 257.7 MB, free: 1.051 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003384/0.007448, allocations: 103.3 kB / 257.8 MB, free: 0.9492 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.007937, allocations: 325.9 kB / 258.1 MB, free: 0.6289 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.00841, allocations: 307.4 kB / 258.4 MB, free: 336 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007511/0.009161, allocations: 0.8832 MB / 259.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.009314, allocations: 70.72 kB / 259.4 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008314/0.01014, allocations: 0.6115 MB / 260 MB, free: 14.76 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.01046, allocations: 239.2 kB / 260.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.416e-05/0.0105, allocations: 32 kB / 260.3 MB, free: 14.49 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.0106, allocations: 47.88 kB / 260.3 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.397e-05/0.0107, allocations: 95.7 kB / 260.4 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.01083, allocations: 139.7 kB / 260.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.01115, allocations: 275.1 kB / 260.8 MB, free: 13.95 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.01116, allocations: 4 kB / 260.8 MB, free: 13.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01116, allocations: 0 / 260.8 MB, free: 13.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.01116, allocations: 0 / 260.8 MB, free: 13.94 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.0006239/0.01178, allocations: 500 kB / 261.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.01182, allocations: 11.98 kB / 261.3 MB, free: 13.42 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000243/0.01206, allocations: 76.64 kB / 261.4 MB, free: 13.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.01231, allocations: 201.2 kB / 261.6 MB, free: 13.12 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.01233, allocations: 24.88 kB / 261.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.01238, allocations: 28.31 kB / 261.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.0127, allocations: 393.7 kB / 262 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.01271, allocations: 192 / 262 MB, free: 12.62 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.876e-05/0.01274, allocations: 20.11 kB / 262 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.01275, allocations: 4 kB / 262 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.01313, allocations: 87.31 kB / 262.1 MB, free: 12.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009839/0.01411, allocations: 0.9644 MB / 263.1 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.01428, allocations: 102.5 kB / 263.2 MB, free: 11.4 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.821e-05/0.01434, allocations: 44.78 kB / 263.2 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.01436, allocations: 8 kB / 263.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.01438, allocations: 34.88 kB / 263.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 1.473e-06/0.01438, allocations: 4 kB / 263.3 MB, free: 11.3 MB / 250.7 MB Notification: Performance of matching and sorting (n=26): time 0.001468/0.01585, allocations: 0.6669 MB / 263.9 MB, free: 10.59 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.01588, allocations: 59.39 kB / 264 MB, free: 10.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.01603, allocations: 215.3 kB / 264.2 MB, free: 10.3 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/0.01605, allocations: 29.7 kB / 264.2 MB, free: 10.26 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.01613, allocations: 180.3 kB / 264.4 MB, free: 10.08 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.988e-05/0.01619, allocations: 95.16 kB / 264.5 MB, free: 9.988 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.27e-05/0.01627, allocations: 61.67 kB / 264.6 MB, free: 9.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.997e-05/0.01636, allocations: 338.7 kB / 264.9 MB, free: 9.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.01642, allocations: 35.98 kB / 264.9 MB, free: 9.547 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.01653, allocations: 134.8 kB / 265.1 MB, free: 9.375 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.01672, allocations: 189.7 kB / 265.3 MB, free: 9.148 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01673, allocations: 4 kB / 265.3 MB, free: 9.145 MB / 250.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003419/0.01707, allocations: 231.3 kB / 265.5 MB, free: 8.906 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.01708, allocations: 8 kB / 265.5 MB, free: 8.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.01709, allocations: 4 kB / 265.5 MB, free: 8.895 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001742/0.01726, allocations: 61.58 kB / 265.6 MB, free: 8.828 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.01745, allocations: 63.91 kB / 265.6 MB, free: 8.766 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.01881, allocations: 2.38 MB / 268 MB, free: 6.207 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.01893, allocations: 11.94 kB / 268 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.01895, allocations: 12 kB / 268 MB, free: 6.184 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 0.0001008/0.01905, allocations: 140.6 kB / 268.2 MB, free: 6.035 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.0191, allocations: 23.98 kB / 268.2 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/0.01914, allocations: 33.95 kB / 268.2 MB, free: 5.98 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.01915, allocations: 4 kB / 268.2 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01915, allocations: 0 / 268.2 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000329/0.01948, allocations: 468.5 kB / 268.7 MB, free: 5.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.02027, allocations: 416.4 kB / 269.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.02027, allocations: 0 / 269.1 MB, free: 4.992 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.0204, allocations: 47.91 kB / 269.1 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/0.02054, allocations: 40.8 kB / 269.2 MB, free: 4.902 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.02055, allocations: 8 kB / 269.2 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006433/0.0212, allocations: 1.213 MB / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.0212, allocations: 0 / 270.4 MB, free: 3.594 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.02145, allocations: 314.7 kB / 270.7 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.02147, allocations: 19.86 kB / 270.7 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.0215, allocations: 12.06 kB / 270.7 MB, free: 3.234 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.939e-05/0.02157, allocations: 3.938 kB / 270.7 MB, free: 3.23 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.0216, allocations: 23.95 kB / 270.8 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.02161, allocations: 8 kB / 270.8 MB, free: 3.199 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.823e-05/0.02166, allocations: 62.41 kB / 270.8 MB, free: 3.137 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02166, allocations: 0 / 270.8 MB, free: 3.137 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000216/0.02188, allocations: 92 kB / 270.9 MB, free: 3.047 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 9.243e-05/0.02197, allocations: 84.36 kB / 271 MB, free: 2.957 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000359/0.02233, allocations: 396.9 kB / 271.4 MB, free: 2.543 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.02233, allocations: 0 / 271.4 MB, free: 2.543 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001527/0.02248, allocations: 196.1 kB / 271.6 MB, free: 2.336 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.02285, allocations: 135.3 kB / 271.7 MB, free: 2.207 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/0.02374, allocations: 0.5787 MB / 272.3 MB, free: 1.598 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.914e-05/0.02379, allocations: 92.56 kB / 272.4 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.0239, allocations: 42.95 kB / 272.4 MB, free: 1.445 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.02411, allocations: 145.2 kB / 272.6 MB, free: 1.301 MB / 250.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02411, allocations: 0 / 272.6 MB, free: 1.301 MB / 250.7 MB Notification: Performance of Templates: time 0.007174/0.03128, allocations: 5.657 MB / 278.2 MB, free: 11.68 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.576805079821497]