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.00135/0.00135, 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.001632/0.001632, allocations: 159.7 kB / 25.44 MB, free: 8.855 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.9287/0.9287, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.373e-06/1.373e-06, allocations: 0 / 299.8 MB, free: 6.879 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.636e-05, allocations: 2.281 kB / 299.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.02893/0.02896, allocations: 35.3 MB / 335.1 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.03094, allocations: 1.887 MB / 336.9 MB, free: 1.551 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002653/0.0312, allocations: 7.938 kB / 336.9 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000658/0.03186, allocations: 166.9 kB / 337.1 MB, free: 1.379 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000543/0.0324, allocations: 329.9 kB / 337.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000579/0.03298, allocations: 299.3 kB / 337.7 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007794/0.03376, allocations: 0.8443 MB / 338.6 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001786/0.03394, allocations: 64.89 kB / 338.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2055/0.2394, allocations: 43.98 MB / 382.6 MB, free: 17.93 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.2399, allocations: 254 kB / 382.9 MB, free: 17.87 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.275e-05/0.2399, allocations: 30.52 kB / 382.9 MB, free: 17.87 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.2401, allocations: 35.12 kB / 382.9 MB, free: 17.87 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.47e-05/0.2402, allocations: 103.1 kB / 383 MB, free: 17.85 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.2403, allocations: 132.5 kB / 383.2 MB, free: 17.84 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000445/0.2407, allocations: 448.4 kB / 383.6 MB, free: 17.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2407, allocations: 3.188 kB / 383.6 MB, free: 17.67 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2407, allocations: 2.875 kB / 383.6 MB, free: 17.67 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2407, allocations: 0 / 383.6 MB, free: 17.67 MB / 330.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.0005842/0.2413, allocations: 0.5157 MB / 384.1 MB, free: 17.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2414, allocations: 12.08 kB / 384.1 MB, free: 17.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.2415, allocations: 45.98 kB / 384.2 MB, free: 17.3 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.2418, allocations: 224.8 kB / 384.4 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2419, allocations: 19.06 kB / 384.4 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.2419, allocations: 27.97 kB / 384.4 MB, free: 17.13 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.2422, allocations: 457.8 kB / 384.9 MB, free: 16.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.2422, allocations: 3.281 kB / 384.9 MB, free: 16.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.2422, allocations: 14.12 kB / 384.9 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2422, allocations: 5.438 kB / 384.9 MB, free: 16.8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.2424, allocations: 199.1 kB / 385.1 MB, free: 16.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008301/0.2433, allocations: 1.12 MB / 386.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.2435, allocations: 164.7 kB / 386.4 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.2436, allocations: 82.67 kB / 386.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.2436, allocations: 10.78 kB / 386.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.2436, allocations: 37.16 kB / 386.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.333e-06/0.2436, allocations: 0 / 386.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.001373/0.245, allocations: 0.8484 MB / 387.4 MB, free: 15.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.245, allocations: 59.59 kB / 387.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000146/0.2451, allocations: 232.7 kB / 387.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2452, allocations: 30.8 kB / 387.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.2452, allocations: 180.8 kB / 387.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.309e-05/0.2453, allocations: 98.84 kB / 387.9 MB, free: 15.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-05/0.2453, allocations: 70.62 kB / 388 MB, free: 15.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.758e-05/0.2454, allocations: 330.9 kB / 388.3 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.2455, allocations: 86.72 kB / 388.4 MB, free: 14.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.2456, allocations: 176 kB / 388.6 MB, free: 14.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.2458, allocations: 282.1 kB / 388.9 MB, free: 14.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2458, allocations: 5.609 kB / 388.9 MB, free: 14.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003676/0.2462, allocations: 381.6 kB / 389.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2462, allocations: 6.719 kB / 389.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2462, allocations: 3.844 kB / 389.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/0.2463, allocations: 66.27 kB / 389.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.2465, allocations: 69.84 kB / 389.4 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.2475, allocations: 2.622 MB / 392 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.2476, allocations: 18.28 kB / 392 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.2476, allocations: 11.44 kB / 392 MB, free: 11.59 MB / 330.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.66e-05/0.2477, allocations: 152.8 kB / 392.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.2478, allocations: 26.67 kB / 392.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.2478, allocations: 37.33 kB / 392.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2478, allocations: 0 / 392.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2478, allocations: 11.12 kB / 392.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003141/0.2481, allocations: 0.553 MB / 392.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005555/0.2487, allocations: 0.6055 MB / 393.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2487, allocations: 4 kB / 393.4 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.914e-05/0.2488, allocations: 43.25 kB / 393.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.2489, allocations: 56.77 kB / 393.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.2489, allocations: 8 kB / 393.5 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004767/0.2494, allocations: 1.347 MB / 394.9 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2494, allocations: 3.875 kB / 394.9 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.2498, allocations: 470.9 kB / 395.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.206e-05/0.2498, allocations: 27.8 kB / 395.4 MB, free: 8.254 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.2498, allocations: 8 kB / 395.4 MB, free: 8.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2499, allocations: 9.016 kB / 395.4 MB, free: 8.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.2499, allocations: 23.91 kB / 395.4 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.2499, allocations: 11.98 kB / 395.4 MB, free: 8.203 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.363e-05/0.25, allocations: 160.7 kB / 395.6 MB, free: 8.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.25, allocations: 0 / 395.6 MB, free: 8.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.2503, allocations: 88 kB / 395.7 MB, free: 7.961 MB / 330.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.802e-05/0.2504, allocations: 108.1 kB / 395.8 MB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004644/0.2508, allocations: 451.8 kB / 396.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2508, allocations: 0 / 396.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001669/0.251, allocations: 229 kB / 396.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004296/0.2514, allocations: 133.8 kB / 396.6 MB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.2521, allocations: 0.6477 MB / 397.2 MB, free: 6.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.396e-05/0.2522, allocations: 155.2 kB / 397.4 MB, free: 6.211 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.685e-05/0.2523, allocations: 24.5 kB / 397.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of SimCode: time 9.31e-07/0.2523, allocations: 0 / 397.4 MB, free: 6.188 MB / 330.7 MB Notification: Performance of Templates: time 0.004149/0.2564, allocations: 5.823 MB / 403.2 MB, free: 420 kB / 330.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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: 5.245639308355749]