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.001263/0.001263, allocations: 82.59 kB / 21.99 MB, free: 5.18 MB / 14.72 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.001361/0.001361, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 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.322/1.322, allocations: 158.6 MB / 187 MB, free: 6.246 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 55.92 kB / 299.4 MB, free: 6.809 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2314, allocations: 49.15 MB / 348.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04594/0.2774, allocations: 35.39 MB / 383.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002738/0.2801, allocations: 1.907 MB / 385.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/0.2803, allocations: 7.938 kB / 385.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000563/0.2808, allocations: 159 kB / 386 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006055/0.2814, allocations: 322.2 kB / 386.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.2821, allocations: 287.4 kB / 386.6 MB, free: 9.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009458/0.2831, allocations: 0.8485 MB / 387.5 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.2832, allocations: 68.89 kB / 387.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1066/0.3899, allocations: 43.82 MB / 431.4 MB, free: 12.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.3905, allocations: 278.9 kB / 431.6 MB, free: 11.88 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.57e-05/0.3905, allocations: 28 kB / 431.7 MB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.3907, allocations: 43.98 kB / 431.7 MB, free: 11.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.3908, allocations: 99.59 kB / 431.8 MB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001973/0.391, allocations: 151.4 kB / 431.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005347/0.3916, allocations: 438.5 kB / 432.4 MB, free: 11.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3916, allocations: 4 kB / 432.4 MB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3916, allocations: 0 / 432.4 MB, free: 11.13 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3916, allocations: 0 / 432.4 MB, free: 11.13 MB / 398.1 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.0009381/0.3925, allocations: 0.517 MB / 432.9 MB, free: 10.58 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3925, allocations: 11.98 kB / 432.9 MB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002611/0.3928, allocations: 40.75 kB / 432.9 MB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.3932, allocations: 229.9 kB / 433.2 MB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3933, allocations: 20.88 kB / 433.2 MB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.3933, allocations: 28.38 kB / 433.2 MB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005543/0.3939, allocations: 461.1 kB / 433.7 MB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3939, allocations: 0 / 433.7 MB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.305e-05/0.3939, allocations: 12 kB / 433.7 MB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.3939, allocations: 8 kB / 433.7 MB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003272/0.3942, allocations: 189.8 kB / 433.9 MB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.3958, allocations: 1.117 MB / 435 MB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/0.3961, allocations: 170.5 kB / 435.2 MB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.3963, allocations: 80.92 kB / 435.2 MB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.3963, allocations: 7.938 kB / 435.2 MB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.3963, allocations: 34.56 kB / 435.3 MB, free: 8.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.3963, allocations: 0 / 435.3 MB, free: 8.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.002455/0.3988, allocations: 0.8496 MB / 436.1 MB, free: 7.141 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3988, allocations: 59.39 kB / 436.2 MB, free: 7.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.3991, allocations: 226.9 kB / 436.4 MB, free: 6.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3991, allocations: 33.69 kB / 436.4 MB, free: 6.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.3992, allocations: 192.4 kB / 436.6 MB, free: 6.609 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.3993, allocations: 99.22 kB / 436.7 MB, free: 6.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.891e-05/0.3994, allocations: 61.66 kB / 436.8 MB, free: 6.445 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3995, allocations: 334.8 kB / 437.1 MB, free: 6.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.3997, allocations: 87.97 kB / 437.2 MB, free: 6.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.3999, allocations: 178.9 kB / 437.4 MB, free: 5.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.4003, allocations: 287 kB / 437.6 MB, free: 5.488 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4003, allocations: 0 / 437.6 MB, free: 5.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006826/0.401, allocations: 382.8 kB / 438 MB, free: 5.102 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.401, allocations: 8 kB / 438 MB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.401, allocations: 4 kB / 438 MB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/0.4013, allocations: 57.67 kB / 438.1 MB, free: 5.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.4015, allocations: 75.84 kB / 438.2 MB, free: 4.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.4039, allocations: 2.63 MB / 440.8 MB, free: 2.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.4041, allocations: 8.219 kB / 440.8 MB, free: 2.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.4041, allocations: 20 kB / 440.8 MB, free: 2.094 MB / 398.1 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.0001615/0.4043, allocations: 157.8 kB / 441 MB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.4043, allocations: 31.98 kB / 441 MB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.4044, allocations: 33.95 kB / 441 MB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4044, allocations: 4 kB / 441 MB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4044, allocations: 0 / 441 MB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006576/0.4051, allocations: 0.5667 MB / 441.6 MB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009716/0.406, allocations: 0.6011 MB / 442.2 MB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.406, allocations: 4 kB / 442.2 MB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.4062, allocations: 47.91 kB / 442.3 MB, free: 0.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002321/0.4065, allocations: 48.8 kB / 442.3 MB, free: 460 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.4065, allocations: 4 kB / 442.3 MB, free: 456 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.4077, allocations: 1.354 MB / 443.7 MB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4077, allocations: 7.969 kB / 443.7 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.4084, allocations: 465.2 kB / 444.1 MB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.4085, allocations: 27.81 kB / 444.2 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.4085, allocations: 4 kB / 444.2 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.4087, allocations: 12.12 kB / 444.2 MB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.4087, allocations: 20.11 kB / 444.2 MB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.4088, allocations: 11.97 kB / 444.2 MB, free: 14.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.4089, allocations: 164.5 kB / 444.4 MB, free: 14.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4089, allocations: 0 / 444.4 MB, free: 14.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.4093, allocations: 88 kB / 444.4 MB, free: 14.19 MB / 414.1 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.0001166/0.4094, allocations: 103.1 kB / 444.6 MB, free: 14.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007835/0.4102, allocations: 461.5 kB / 445 MB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.4102, allocations: 4 kB / 445 MB, free: 13.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.4106, allocations: 231.2 kB / 445.2 MB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007708/0.4114, allocations: 136.1 kB / 445.4 MB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.4126, allocations: 0.6906 MB / 446.1 MB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.4128, allocations: 151.2 kB / 446.2 MB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.413, allocations: 54.88 kB / 446.3 MB, free: 12.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.4131, allocations: 28.48 kB / 446.3 MB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4131, allocations: 0 / 446.3 MB, free: 12.25 MB / 414.1 MB Notification: Performance of Templates: time 0.01029/0.4234, allocations: 5.163 MB / 451.4 MB, free: 7.078 MB / 414.1 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 -s ida -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/jenkins1/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/jenkins1/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: 4.5822492049774155]