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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 110.2 kB / 18.25 MB, free: 4.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 195.3 kB / 19.18 MB, free: 3.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 225.1 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 55.92 kB / 281.3 MB, free: 3.16 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08885/0.09012, allocations: 46.62 MB / 328 MB, free: 4.465 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04755/0.1377, allocations: 39.24 MB / 367.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.1403, allocations: 2.031 MB / 369.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.1406, allocations: 4 kB / 369.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.1412, allocations: 174.9 kB / 369.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005796/0.1418, allocations: 306.3 kB / 369.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.1424, allocations: 287.4 kB / 370 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007658/0.1432, allocations: 0.8485 MB / 370.8 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.1434, allocations: 92.69 kB / 370.9 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2484/0.3918, allocations: 44.1 MB / 415 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005736/0.3924, allocations: 269 kB / 415.3 MB, free: 4.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.569e-05/0.3925, allocations: 29.64 kB / 415.3 MB, free: 4.203 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.3927, allocations: 42.55 kB / 415.4 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.996e-05/0.3928, allocations: 86.31 kB / 415.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.393, allocations: 184 kB / 415.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.3934, allocations: 430.4 kB / 416.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3934, allocations: 3.562 kB / 416.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3934, allocations: 0 / 416.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.748e-05/0.3935, allocations: 6.906 kB / 416.1 MB, free: 3.742 MB / 318.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.0008052/0.3943, allocations: 0.5816 MB / 416.6 MB, free: 3.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3943, allocations: 12.03 kB / 416.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.3946, allocations: 44.64 kB / 416.7 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.3949, allocations: 278.3 kB / 417 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3949, allocations: 21.5 kB / 417 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/0.395, allocations: 23.94 kB / 417 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/0.3954, allocations: 303.1 kB / 417.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3954, allocations: 4 kB / 417.3 MB, free: 2.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.3954, allocations: 14.91 kB / 417.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.3954, allocations: 8 kB / 417.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002681/0.3957, allocations: 198 kB / 417.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001284/0.397, allocations: 1.438 MB / 419 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3973, allocations: 177.8 kB / 419.1 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3974, allocations: 91.12 kB / 419.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.3974, allocations: 4 kB / 419.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.3975, allocations: 38.56 kB / 419.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.433e-06/0.3975, allocations: 0 / 419.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002255/0.3997, allocations: 0.9937 MB / 420.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3998, allocations: 51.41 kB / 420.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.4001, allocations: 258.6 kB / 420.6 MB, free: 15.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.4001, allocations: 33.7 kB / 420.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.4002, allocations: 183 kB / 420.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.4003, allocations: 94.66 kB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.742e-05/0.4004, allocations: 69.39 kB / 420.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4005, allocations: 334.8 kB / 421.3 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.4007, allocations: 87.06 kB / 421.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.4009, allocations: 179.5 kB / 421.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003867/0.4013, allocations: 290 kB / 421.8 MB, free: 14.1 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4013, allocations: 9.625 kB / 421.8 MB, free: 14.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006533/0.402, allocations: 385.2 kB / 422.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.402, allocations: 4.375 kB / 422.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.402, allocations: 8 kB / 422.2 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002555/0.4023, allocations: 65.56 kB / 422.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002908/0.4026, allocations: 67.19 kB / 422.3 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.4049, allocations: 2.882 MB / 425.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.4052, allocations: 19.95 kB / 425.2 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.4052, allocations: 12 kB / 425.3 MB, free: 10.43 MB / 334.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.0001759/0.4054, allocations: 148.2 kB / 425.4 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.4055, allocations: 27.72 kB / 425.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.355e-05/0.4055, allocations: 38.23 kB / 425.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4056, allocations: 4 kB / 425.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.4056, allocations: 0 / 425.5 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006703/0.4063, allocations: 0.5661 MB / 426 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.4073, allocations: 0.7026 MB / 426.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4073, allocations: 0 / 426.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.4075, allocations: 43.45 kB / 426.8 MB, free: 8.77 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.4078, allocations: 52.78 kB / 426.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.4078, allocations: 10.81 kB / 426.8 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.409, allocations: 1.503 MB / 428.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.409, allocations: 0 / 428.3 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007149/0.4098, allocations: 473.9 kB / 428.8 MB, free: 6.598 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/0.4099, allocations: 96.86 kB / 428.9 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.136e-05/0.4099, allocations: 4.125 kB / 428.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.4101, allocations: 12 kB / 428.9 MB, free: 6.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4102, allocations: 21.06 kB / 428.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.4102, allocations: 7.984 kB / 428.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001838/0.4104, allocations: 189.9 kB / 429.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4104, allocations: 0 / 429.1 MB, free: 6.258 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004424/0.4108, allocations: 88 kB / 429.2 MB, free: 6.172 MB / 334.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.0001311/0.411, allocations: 107.9 kB / 429.3 MB, free: 6.062 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008147/0.4118, allocations: 486.5 kB / 429.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4118, allocations: 0.75 kB / 429.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.4122, allocations: 237.6 kB / 430 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000985/0.4132, allocations: 168.2 kB / 430.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.4144, allocations: 0.7177 MB / 430.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003323/0.4148, allocations: 0.7665 MB / 431.7 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.761e-05/0.4149, allocations: 27.44 kB / 431.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4149, allocations: 0 / 431.7 MB, free: 3.648 MB / 334.1 MB Notification: Performance of Templates: time 0.00944/0.4243, allocations: 5.964 MB / 437.7 MB, free: 13.71 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (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) 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) Reference file matches