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.001147/0.001151, allocations: 108.4 kB / 18.34 MB, free: 4.809 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.001027/0.001027, allocations: 186.9 kB / 19.28 MB, free: 3.879 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.312/1.312, allocations: 205.1 MB / 225.2 MB, free: 12.24 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.001148/0.001148, allocations: 47.94 kB / 282.1 MB, free: 2.445 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08089/0.08205, allocations: 46.62 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.03939/0.1215, allocations: 39.25 MB / 368 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.1239, allocations: 2.035 MB / 370 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.1241, allocations: 4 kB / 370 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.1246, allocations: 162.9 kB / 370.2 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005287/0.1252, allocations: 322.2 kB / 370.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005966/0.1258, allocations: 291.4 kB / 370.8 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.1266, allocations: 0.8407 MB / 371.6 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.1268, allocations: 100.6 kB / 371.7 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2373/0.3641, allocations: 44.09 MB / 415.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005744/0.3647, allocations: 277.6 kB / 416.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.3648, allocations: 32 kB / 416.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.3649, allocations: 34.88 kB / 416.1 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.365, allocations: 94.7 kB / 416.2 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001684/0.3652, allocations: 180.7 kB / 416.4 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003762/0.3656, allocations: 432.5 kB / 416.8 MB, free: 2.945 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3656, allocations: 3.984 kB / 416.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3656, allocations: 0 / 416.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.3656, allocations: 0 / 416.8 MB, free: 2.941 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.0007822/0.3664, allocations: 0.5904 MB / 417.4 MB, free: 2.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.3665, allocations: 8.031 kB / 417.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002621/0.3667, allocations: 42.7 kB / 417.5 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.3671, allocations: 283.7 kB / 417.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3671, allocations: 21.78 kB / 417.8 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.907e-05/0.3672, allocations: 27.88 kB / 417.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.3676, allocations: 304.2 kB / 418.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3676, allocations: 0 / 418.1 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.3676, allocations: 11.19 kB / 418.1 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.3676, allocations: 8 kB / 418.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002683/0.3679, allocations: 204.4 kB / 418.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.3692, allocations: 1.426 MB / 419.7 MB, free: 288 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.3694, allocations: 185.4 kB / 419.9 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.3696, allocations: 84.84 kB / 420 MB, free: 16 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.3696, allocations: 7.984 kB / 420 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.385e-05/0.3696, allocations: 38.12 kB / 420 MB, free: 15.96 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.292e-06/0.3696, allocations: 0 / 420 MB, free: 15.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002395/0.372, allocations: 0.9964 MB / 421 MB, free: 14.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.3721, allocations: 57.38 kB / 421.1 MB, free: 14.83 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.3724, allocations: 254.6 kB / 421.4 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.3724, allocations: 29.7 kB / 421.4 MB, free: 14.54 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3725, allocations: 191.4 kB / 421.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.51e-05/0.3726, allocations: 89.72 kB / 421.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.3727, allocations: 64.5 kB / 421.7 MB, free: 14.2 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3728, allocations: 338.8 kB / 422 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.373, allocations: 87.95 kB / 422.1 MB, free: 13.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.3732, allocations: 182.1 kB / 422.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.3736, allocations: 277.8 kB / 422.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3736, allocations: 7.938 kB / 422.6 MB, free: 13.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006407/0.3742, allocations: 386.6 kB / 423 MB, free: 12.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3743, allocations: 8.375 kB / 423 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3743, allocations: 8 kB / 423 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002378/0.3745, allocations: 54.66 kB / 423 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002866/0.3748, allocations: 67.34 kB / 423.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.377, allocations: 2.883 MB / 426 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3773, allocations: 11.94 kB / 426 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.3773, allocations: 22.69 kB / 426 MB, free: 9.582 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.0001482/0.3774, allocations: 151.5 kB / 426.2 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.3775, allocations: 23.72 kB / 426.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.799e-05/0.3776, allocations: 38.17 kB / 426.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3776, allocations: 0 / 426.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3776, allocations: 4 kB / 426.2 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006062/0.3782, allocations: 0.5704 MB / 426.8 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009998/0.3792, allocations: 0.7026 MB / 427.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3793, allocations: 0 / 427.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.3795, allocations: 39.08 kB / 427.5 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002248/0.3797, allocations: 56.73 kB / 427.6 MB, free: 7.867 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.3797, allocations: 14.92 kB / 427.6 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.3809, allocations: 1.487 MB / 429.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3809, allocations: 4.031 kB / 429.1 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006774/0.3816, allocations: 473.8 kB / 429.6 MB, free: 5.758 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.888e-05/0.3817, allocations: 100.8 kB / 429.7 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.3817, allocations: 11.47 kB / 429.7 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.3819, allocations: 4 kB / 429.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.382, allocations: 19.97 kB / 429.7 MB, free: 5.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.382, allocations: 8 kB / 429.7 MB, free: 5.602 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.3822, allocations: 189.9 kB / 429.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.142e-06/0.3822, allocations: 3.844 kB / 429.9 MB, free: 5.418 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003963/0.3826, allocations: 89.86 kB / 430 MB, free: 5.332 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.0001114/0.3827, allocations: 107.7 kB / 430.1 MB, free: 5.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008221/0.3835, allocations: 485.2 kB / 430.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3836, allocations: 0 / 430.6 MB, free: 4.734 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003771/0.3839, allocations: 229.5 kB / 430.8 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008508/0.3848, allocations: 163 kB / 430.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.3859, allocations: 0.6853 MB / 431.6 MB, free: 3.668 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.3862, allocations: 0.7627 MB / 432.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002051/0.3865, allocations: 55.16 kB / 432.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.3865, allocations: 27.44 kB / 432.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3865, allocations: 0 / 432.5 MB, free: 2.812 MB / 334.1 MB Notification: Performance of Templates: time 0.009531/0.3961, allocations: 5.674 MB / 438.1 MB, free: 13.17 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 -s cvode -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