Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.0009979/0.0009979, allocations: 85.08 kB / 23 MB, free: 1.504 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.00101/0.00101, allocations: 173.1 kB / 26.39 MB, free: 8 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 1.077/1.077, allocations: 158.6 MB / 188.3 MB, free: 2.816 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.LinearWater_pT,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.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.183e-06/1.183e-06, allocations: 0 / 252.3 MB, free: 7.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.23e-05, allocations: 6.312 kB / 252.3 MB, free: 7.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02578/0.0258, allocations: 27.07 MB / 279.4 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.02683, allocations: 0.627 MB / 280 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.02699, allocations: 7.938 kB / 280 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.02738, allocations: 99.3 kB / 280.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004462/0.02783, allocations: 337.9 kB / 280.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004053/0.02823, allocations: 291.5 kB / 280.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006693/0.0289, allocations: 0.8794 MB / 281.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.02904, allocations: 72.88 kB / 281.7 MB, free: 9.711 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:897:9-897:73:writable] Warning: Output parameter bpro.cv was not assigned a value [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Media/Water/IF97_Utilities.mo:934:9-934:73:writable] Warning: Output parameter bpro.cv was not assigned a value Notification: Performance of NFEvalConstants.evaluate: time 0.02174/0.05078, allocations: 15.93 MB / 297.6 MB, free: 9.656 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00033/0.05111, allocations: 255.2 kB / 297.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.05115, allocations: 28 kB / 297.9 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.05124, allocations: 36 kB / 297.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.585e-05/0.05133, allocations: 107.6 kB / 298 MB, free: 9.238 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.05144, allocations: 131.8 kB / 298.1 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000313/0.05175, allocations: 275.2 kB / 298.4 MB, free: 8.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.05175, allocations: 0 / 298.4 MB, free: 8.84 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.05176, allocations: 3.984 kB / 298.4 MB, free: 8.836 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.05176, allocations: 4 kB / 298.4 MB, free: 8.832 MB / 282.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.0006727/0.05243, allocations: 0.6087 MB / 299 MB, free: 8.188 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.05247, allocations: 11.98 kB / 299 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.05267, allocations: 88.36 kB / 299.1 MB, free: 8.09 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.05292, allocations: 224.1 kB / 299.4 MB, free: 7.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.05293, allocations: 20.88 kB / 299.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.05298, allocations: 28.33 kB / 299.4 MB, free: 7.797 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002829/0.05326, allocations: 409.5 kB / 299.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.05327, allocations: 192 / 299.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.05329, allocations: 11.94 kB / 299.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.0533, allocations: 8 kB / 299.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.05342, allocations: 103.3 kB / 299.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.0544, allocations: 1.379 MB / 301.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.05456, allocations: 123 kB / 301.4 MB, free: 5.637 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.451e-05/0.05462, allocations: 51.75 kB / 301.5 MB, free: 5.582 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.05464, allocations: 4.375 kB / 301.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.05466, allocations: 49.31 kB / 301.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.302e-06/0.05466, allocations: 0 / 301.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.001159/0.05582, allocations: 0.6606 MB / 302.2 MB, free: 4.812 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.05585, allocations: 55.34 kB / 302.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.056, allocations: 277.4 kB / 302.5 MB, free: 4.457 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.05602, allocations: 33.7 kB / 302.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.381e-05/0.05611, allocations: 235.1 kB / 302.8 MB, free: 4.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.05616, allocations: 91.16 kB / 302.9 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.05623, allocations: 75.28 kB / 302.9 MB, free: 4.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.05636, allocations: 0.5079 MB / 303.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.798e-05/0.0564, allocations: 35.97 kB / 303.5 MB, free: 3.453 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.05651, allocations: 171.6 kB / 303.6 MB, free: 3.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.0567, allocations: 231.7 kB / 303.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.0567, allocations: 0 / 303.9 MB, free: 2.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003246/0.05702, allocations: 296.5 kB / 304.2 MB, free: 2.645 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.05704, allocations: 8 kB / 304.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.05704, allocations: 4 kB / 304.2 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.05719, allocations: 59.64 kB / 304.2 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.05734, allocations: 71.84 kB / 304.3 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.05908, allocations: 3.489 MB / 307.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.05919, allocations: 12 kB / 307.8 MB, free: 14.76 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.05921, allocations: 8 kB / 307.8 MB, free: 14.75 MB / 298.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.0001284/0.05934, allocations: 176.5 kB / 308 MB, free: 14.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.263e-05/0.05939, allocations: 35.86 kB / 308 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.05942, allocations: 29.97 kB / 308 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.05943, allocations: 11.97 kB / 308.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.05943, allocations: 0 / 308.1 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003486/0.05978, allocations: 499.3 kB / 308.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006104/0.06039, allocations: 0.54 MB / 309.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.06039, allocations: 0 / 309.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.0605, allocations: 43.92 kB / 309.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.06066, allocations: 55.64 kB / 309.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.06067, allocations: 8 kB / 309.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008168/0.06148, allocations: 1.76 MB / 310.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.06149, allocations: 4.031 kB / 311 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.06185, allocations: 411.4 kB / 311.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.247e-05/0.06187, allocations: 23.81 kB / 311.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.0619, allocations: 4 kB / 311.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.06199, allocations: 8 kB / 311.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.212e-05/0.06202, allocations: 19.95 kB / 311.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.06203, allocations: 8 kB / 311.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.861e-05/0.06212, allocations: 180.6 kB / 311.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.06212, allocations: 32 / 311.6 MB, free: 10.67 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002709/0.06239, allocations: 88 kB / 311.7 MB, free: 10.58 MB / 298.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.0001062/0.0625, allocations: 103.2 kB / 311.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.06294, allocations: 0.5079 MB / 312.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.06294, allocations: 0 / 312.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002121/0.06315, allocations: 261.3 kB / 312.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004848/0.06364, allocations: 132.8 kB / 312.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.06471, allocations: 0.5997 MB / 313.3 MB, free: 8.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.28e-05/0.06478, allocations: 100.6 kB / 313.4 MB, free: 8.766 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.06493, allocations: 42.94 kB / 313.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.06515, allocations: 170.1 kB / 313.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of SimCode: time 1.423e-06/0.06515, allocations: 0 / 313.6 MB, free: 8.555 MB / 298.7 MB Notification: Performance of Templates: time 0.008004/0.07315, allocations: 5.764 MB / 319.3 MB, free: 2.84 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_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/LinearWater_pT/LinearWater_pT.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.947504263371229]