Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000993/0.000993, allocations: 194.4 kB / 16.79 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.5 MB / 244.1 MB, free: 6.461 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007744/0.0007744, allocations: 100.6 kB / 296.1 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3498/0.3498, allocations: 44.82 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.000281, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3739, allocations: 62.94 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.355/6.728, allocations: 3.128 GB / 3.644 GB, free: 74.93 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/6.729, allocations: 99.94 kB / 3.644 GB, free: 74.83 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.372/9.101, allocations: 0.8692 GB / 4.514 GB, free: 58.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.582e-06/9.101, allocations: 3.938 kB / 4.514 GB, free: 58.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.45e-05/9.101, allocations: 16.42 kB / 4.514 GB, free: 58.7 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.005129/9.106, allocations: 1.649 MB / 4.515 GB, free: 57.67 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/9.106, allocations: 6.875 kB / 4.515 GB, free: 57.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/9.106, allocations: 90.05 kB / 4.515 GB, free: 57.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008036/9.107, allocations: 0.555 MB / 4.516 GB, free: 57.26 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/9.107, allocations: 104.9 kB / 4.516 GB, free: 57.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/9.107, allocations: 46.38 kB / 4.516 GB, free: 57.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009955/9.108, allocations: 0.8199 MB / 4.517 GB, free: 56.69 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/9.108, allocations: 10.62 kB / 4.517 GB, free: 56.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/9.108, allocations: 30.77 kB / 4.517 GB, free: 56.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.321e-05/9.108, allocations: 35.72 kB / 4.517 GB, free: 56.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008619/9.109, allocations: 0.6385 MB / 4.517 GB, free: 56.44 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/9.113, allocations: 3.906 MB / 4.521 GB, free: 53.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/9.114, allocations: 400.1 kB / 4.522 GB, free: 53.22 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/9.114, allocations: 202.9 kB / 4.522 GB, free: 53.14 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/9.114, allocations: 0.4982 MB / 4.522 GB, free: 52.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/9.114, allocations: 40.95 kB / 4.522 GB, free: 52.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=40): time 2.003e-06/9.114, allocations: 0 / 4.522 GB, free: 52.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=45): time 0.002701/9.117, allocations: 1.504 MB / 4.524 GB, free: 51.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/9.117, allocations: 140.2 kB / 4.524 GB, free: 51.54 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005304/9.118, allocations: 0.5646 MB / 4.525 GB, free: 51.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/9.118, allocations: 29.7 kB / 4.525 GB, free: 51.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/9.118, allocations: 356.7 kB / 4.525 GB, free: 50.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.707e-05/9.118, allocations: 161.3 kB / 4.525 GB, free: 50.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/9.118, allocations: 15.88 kB / 4.525 GB, free: 50.83 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/9.118, allocations: 368.2 kB / 4.525 GB, free: 50.49 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/9.118, allocations: 221.5 kB / 4.526 GB, free: 50.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/9.119, allocations: 0.5163 MB / 4.526 GB, free: 49.87 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/9.119, allocations: 0.7685 MB / 4.527 GB, free: 49.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/9.119, allocations: 0 / 4.527 GB, free: 49.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001442/9.121, allocations: 0.9329 MB / 4.528 GB, free: 48.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/9.121, allocations: 11.94 kB / 4.528 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/9.121, allocations: 8 kB / 4.528 GB, free: 48.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/9.122, allocations: 275 kB / 4.528 GB, free: 47.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/9.122, allocations: 123.8 kB / 4.528 GB, free: 47.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007076/9.123, allocations: 0.8606 MB / 4.529 GB, free: 46.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/9.124, allocations: 48.03 kB / 4.529 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/9.124, allocations: 36 kB / 4.529 GB, free: 46.73 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002695/9.124, allocations: 245.5 kB / 4.529 GB, free: 46.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/9.124, allocations: 71.16 kB / 4.529 GB, free: 46.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/9.125, allocations: 0.6915 MB / 4.53 GB, free: 45.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/9.125, allocations: 4 kB / 4.53 GB, free: 45.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/9.125, allocations: 9.875 kB / 4.53 GB, free: 45.69 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/9.125, allocations: 7.922 kB / 4.53 GB, free: 45.68 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/9.127, allocations: 1.378 MB / 4.531 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/9.127, allocations: 0 / 4.531 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009274/9.128, allocations: 199.7 kB / 4.532 GB, free: 44.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002536/9.128, allocations: 64.92 kB / 4.532 GB, free: 43.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/9.128, allocations: 16 kB / 4.532 GB, free: 43.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/9.13, allocations: 2.792 MB / 4.534 GB, free: 40.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/9.13, allocations: 3.938 kB / 4.534 GB, free: 40.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/9.131, allocations: 0.9801 MB / 4.535 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002165/9.131, allocations: 200.2 kB / 4.536 GB, free: 39.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/9.131, allocations: 12 kB / 4.536 GB, free: 39.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004267/9.132, allocations: 32.05 kB / 4.536 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/9.132, allocations: 35.89 kB / 4.536 GB, free: 39.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.018e-05/9.132, allocations: 19.98 kB / 4.536 GB, free: 39.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003763/9.132, allocations: 390.8 kB / 4.536 GB, free: 39.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.21e-07/9.132, allocations: 3.938 kB / 4.536 GB, free: 39.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008579/9.133, allocations: 243.9 kB / 4.536 GB, free: 38.95 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000546/9.134, allocations: 389 kB / 4.537 GB, free: 38.58 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009198/9.135, allocations: 0.593 MB / 4.537 GB, free: 37.99 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/9.135, allocations: 8 kB / 4.537 GB, free: 37.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/9.136, allocations: 466.4 kB / 4.538 GB, free: 37.51 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/9.137, allocations: 327 kB / 4.538 GB, free: 37.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/9.139, allocations: 1.687 MB / 4.54 GB, free: 35.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/9.139, allocations: 0.9426 MB / 4.541 GB, free: 34.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/9.139, allocations: 67.42 kB / 4.541 GB, free: 34.44 MB / 0.5417 GB Notification: Performance of SimCode: time 4.71e-07/9.139, allocations: 3.938 kB / 4.541 GB, free: 34.44 MB / 0.5417 GB Notification: Performance of Templates: time 0.01667/9.156, allocations: 15.97 MB / 4.556 GB, free: 18.65 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches