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.001402/0.001408, allocations: 109.4 kB / 18.4 MB, free: 4.68 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.001342/0.001342, allocations: 189.1 kB / 19.33 MB, free: 3.758 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.391/1.391, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001309/0.001309, allocations: 47.92 kB / 329.2 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 46.62 MB / 375.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2145/0.3169, allocations: 39.25 MB / 415.1 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.3198, allocations: 2.038 MB / 417.1 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002341/0.3201, allocations: 4.531 kB / 417.2 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000648/0.3207, allocations: 169.2 kB / 417.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006569/0.3214, allocations: 323.5 kB / 417.6 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007289/0.3221, allocations: 283.5 kB / 417.9 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009999/0.3231, allocations: 0.8404 MB / 418.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.3234, allocations: 102.9 kB / 418.9 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1079/0.4313, allocations: 44.12 MB / 463 MB, free: 8.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/0.432, allocations: 267.9 kB / 463.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.4321, allocations: 28 kB / 463.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.4324, allocations: 40 kB / 463.3 MB, free: 7.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.4325, allocations: 95.7 kB / 463.4 MB, free: 7.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.4327, allocations: 179.3 kB / 463.6 MB, free: 7.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005056/0.4332, allocations: 434.6 kB / 464 MB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4332, allocations: 3.984 kB / 464 MB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4332, allocations: 0 / 464 MB, free: 7.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.4332, allocations: 4 kB / 464 MB, free: 7.168 MB / 382.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.0009265/0.4342, allocations: 0.5815 MB / 464.6 MB, free: 6.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4342, allocations: 8.031 kB / 464.6 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003182/0.4345, allocations: 48.64 kB / 464.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004535/0.435, allocations: 283.7 kB / 464.9 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.435, allocations: 23.69 kB / 464.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.4351, allocations: 24.38 kB / 465 MB, free: 6.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.4356, allocations: 307.6 kB / 465.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.4356, allocations: 4 kB / 465.3 MB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.4356, allocations: 15.94 kB / 465.3 MB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.4356, allocations: 4 kB / 465.3 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.436, allocations: 197.6 kB / 465.5 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.4376, allocations: 1.44 MB / 466.9 MB, free: 4.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.4379, allocations: 170.6 kB / 467.1 MB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.4381, allocations: 88.78 kB / 467.2 MB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.4381, allocations: 7.984 kB / 467.2 MB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.4381, allocations: 42.56 kB / 467.2 MB, free: 3.699 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.4381, allocations: 0 / 467.2 MB, free: 3.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.002422/0.4406, allocations: 1.004 MB / 468.2 MB, free: 2.617 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.4406, allocations: 55.41 kB / 468.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.4409, allocations: 258.6 kB / 468.5 MB, free: 2.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.4409, allocations: 29.7 kB / 468.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.441, allocations: 180.2 kB / 468.7 MB, free: 2.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.096e-05/0.4411, allocations: 98.64 kB / 468.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.262e-05/0.4412, allocations: 65.61 kB / 468.9 MB, free: 1.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4413, allocations: 334.8 kB / 469.2 MB, free: 1.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.4415, allocations: 87.95 kB / 469.3 MB, free: 1.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.4417, allocations: 174.9 kB / 469.5 MB, free: 1.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.4421, allocations: 286.9 kB / 469.8 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4421, allocations: 7.938 kB / 469.8 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006494/0.4427, allocations: 390.7 kB / 470.1 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.4428, allocations: 4 kB / 470.1 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4428, allocations: 4 kB / 470.2 MB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002297/0.443, allocations: 62.05 kB / 470.2 MB, free: 488 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.4433, allocations: 67.91 kB / 470.3 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.4455, allocations: 2.88 MB / 473.2 MB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.4457, allocations: 11.97 kB / 473.2 MB, free: 13.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.4458, allocations: 16 kB / 473.2 MB, free: 13.22 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.0001593/0.4459, allocations: 155 kB / 473.3 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.815e-05/0.446, allocations: 35.72 kB / 473.4 MB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.4461, allocations: 34.17 kB / 473.4 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4461, allocations: 4 kB / 473.4 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4461, allocations: 1.5 kB / 473.4 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005759/0.4467, allocations: 0.5629 MB / 474 MB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009648/0.4477, allocations: 0.6994 MB / 474.7 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4477, allocations: 0 / 474.7 MB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.4479, allocations: 43.92 kB / 474.7 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/0.4481, allocations: 48.8 kB / 474.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.4481, allocations: 7.984 kB / 474.8 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.4493, allocations: 1.496 MB / 476.3 MB, free: 9.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4493, allocations: 4.062 kB / 476.3 MB, free: 9.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006651/0.45, allocations: 476.8 kB / 476.7 MB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.557e-05/0.4501, allocations: 96.81 kB / 476.8 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.429e-05/0.4501, allocations: 8 kB / 476.8 MB, free: 9.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.4503, allocations: 4 kB / 476.8 MB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.4504, allocations: 24.03 kB / 476.9 MB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4504, allocations: 11.94 kB / 476.9 MB, free: 9.188 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001778/0.4506, allocations: 190 kB / 477.1 MB, free: 9 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4506, allocations: 0 / 477.1 MB, free: 9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.451, allocations: 84 kB / 477.1 MB, free: 8.918 MB / 398.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.0001387/0.4511, allocations: 103.2 kB / 477.2 MB, free: 8.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007542/0.4519, allocations: 477.2 kB / 477.7 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4519, allocations: 0 / 477.7 MB, free: 8.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.4523, allocations: 247.2 kB / 478 MB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008767/0.4532, allocations: 151 kB / 478.1 MB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.4543, allocations: 0.715 MB / 478.8 MB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.4547, allocations: 0.7684 MB / 479.6 MB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.806e-05/0.4548, allocations: 27.44 kB / 479.6 MB, free: 6.352 MB / 398.1 MB Notification: Performance of SimCode: time 1.462e-06/0.4548, allocations: 0 / 479.6 MB, free: 6.352 MB / 398.1 MB Notification: Performance of Templates: time 0.008501/0.4633, allocations: 5.984 MB / 485.6 MB, free: 368 kB / 398.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