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.001518/0.001518, allocations: 114 kB / 17.28 MB, free: 6.219 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.001569/0.001569, allocations: 189.3 kB / 18.2 MB, free: 5.297 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.374/1.374, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001288/0.001288, allocations: 47.92 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1042, allocations: 46.63 MB / 326.8 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04465/0.149, allocations: 39.34 MB / 366.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.1521, allocations: 2.019 MB / 368.2 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.1524, allocations: 4 kB / 368.2 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007419/0.1532, allocations: 151.2 kB / 368.3 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.1539, allocations: 298.5 kB / 368.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.1547, allocations: 267.5 kB / 368.9 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009442/0.1557, allocations: 0.8446 MB / 369.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.156, allocations: 96.69 kB / 369.8 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3028/0.4588, allocations: 43.54 MB / 413.3 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/0.4596, allocations: 287.2 kB / 413.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.316e-05/0.4597, allocations: 31 kB / 413.6 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.4599, allocations: 39.88 kB / 413.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.46, allocations: 91.69 kB / 413.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.4602, allocations: 183.1 kB / 414 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004917/0.4607, allocations: 436.7 kB / 414.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4608, allocations: 0 / 414.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4608, allocations: 1.531 kB / 414.4 MB, free: 4.789 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.4608, allocations: 0 / 414.4 MB, free: 4.789 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.000909/0.4617, allocations: 0.5816 MB / 415 MB, free: 4.238 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.4618, allocations: 8.031 kB / 415 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.4621, allocations: 44.08 kB / 415 MB, free: 4.191 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002799/0.4623, allocations: 277.5 kB / 415.3 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4624, allocations: 17.56 kB / 415.3 MB, free: 3.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.4624, allocations: 22 kB / 415.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004177/0.4628, allocations: 313.2 kB / 415.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.4629, allocations: 0 / 415.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.4629, allocations: 11.5 kB / 415.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.916e-06/0.4629, allocations: 4 kB / 415.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/0.4632, allocations: 196.8 kB / 415.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.4645, allocations: 1.44 MB / 417.3 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002989/0.4648, allocations: 174.3 kB / 417.4 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.465, allocations: 93.89 kB / 417.5 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.465, allocations: 10.97 kB / 417.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.465, allocations: 34.56 kB / 417.6 MB, free: 1.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.504e-06/0.465, allocations: 0 / 417.6 MB, free: 1.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.002334/0.4674, allocations: 0.9926 MB / 418.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.4674, allocations: 57.53 kB / 418.6 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.4677, allocations: 265.6 kB / 418.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.4677, allocations: 33.23 kB / 418.9 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.391e-05/0.4678, allocations: 180.4 kB / 419.1 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.4678, allocations: 91.03 kB / 419.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.578e-05/0.4679, allocations: 69.45 kB / 419.3 MB, free: 456 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.647e-05/0.468, allocations: 339 kB / 419.6 MB, free: 120 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.4681, allocations: 83.78 kB / 419.7 MB, free: 40 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002237/0.4683, allocations: 179.9 kB / 419.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.4687, allocations: 289.4 kB / 420.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.4687, allocations: 4.875 kB / 420.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006732/0.4694, allocations: 371.5 kB / 420.5 MB, free: 15.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.4694, allocations: 12 kB / 420.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.4695, allocations: 4 kB / 420.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.4697, allocations: 57.67 kB / 420.6 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.47, allocations: 74.34 kB / 420.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.4724, allocations: 2.89 MB / 423.5 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.4727, allocations: 29.3 kB / 423.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.4727, allocations: 8.859 kB / 423.6 MB, free: 11.84 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.0001778/0.4729, allocations: 158.3 kB / 423.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.091e-05/0.473, allocations: 31.62 kB / 423.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.244e-05/0.4731, allocations: 32.91 kB / 423.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4731, allocations: 7.984 kB / 423.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4731, allocations: 0 / 423.8 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005998/0.4737, allocations: 0.5629 MB / 424.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009893/0.4747, allocations: 0.6988 MB / 425.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4747, allocations: 4 kB / 425.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002001/0.4749, allocations: 43.97 kB / 425.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002287/0.4752, allocations: 57.88 kB / 425.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.4752, allocations: 12.73 kB / 425.2 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.4764, allocations: 1.486 MB / 426.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4764, allocations: 0 / 426.7 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.4772, allocations: 482.5 kB / 427.1 MB, free: 8 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-05/0.4773, allocations: 104.3 kB / 427.2 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.4773, allocations: 4 kB / 427.2 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.4775, allocations: 15.91 kB / 427.3 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.4776, allocations: 15.97 kB / 427.3 MB, free: 7.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.4776, allocations: 20.05 kB / 427.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.4778, allocations: 181.9 kB / 427.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4778, allocations: 0 / 427.5 MB, free: 7.652 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.4782, allocations: 92 kB / 427.6 MB, free: 7.562 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.0001607/0.4784, allocations: 110 kB / 427.7 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008929/0.4793, allocations: 487.9 kB / 428.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.4793, allocations: 3.656 kB / 428.1 MB, free: 6.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.4797, allocations: 238.9 kB / 428.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009871/0.4807, allocations: 154.3 kB / 428.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.482, allocations: 0.7863 MB / 429.3 MB, free: 5.789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.4824, allocations: 0.7666 MB / 430.1 MB, free: 5 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002657/0.4826, allocations: 50.94 kB / 430.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.4827, allocations: 31.42 kB / 430.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4827, allocations: 0 / 430.2 MB, free: 4.922 MB / 334.1 MB Notification: Performance of Templates: time 0.01101/0.4937, allocations: 5.654 MB / 435.8 MB, free: 15.3 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/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","../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