Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001957, allocations: 206.8 kB / 19.4 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2214/0.2214, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 79.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3726, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02133/0.394, allocations: 20.36 MB / 0.5516 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006582/0.4006, allocations: 4.286 MB / 0.5557 GB, free: 9.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009476/0.4016, allocations: 19.88 kB / 0.5558 GB, free: 9.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001015/0.4026, allocations: 321.9 kB / 0.5561 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00229/0.4049, allocations: 0.8589 MB / 0.5569 GB, free: 7.832 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.4074, allocations: 0.9093 MB / 0.5578 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002272/0.4096, allocations: 1.801 MB / 0.5596 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007831/0.4104, allocations: 469.2 kB / 0.56 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002455/0.4129, allocations: 0.9418 MB / 0.5609 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/0.4143, allocations: 0.6383 MB / 0.5615 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002925/0.4146, allocations: 60 kB / 0.5616 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.4159, allocations: 303.6 kB / 0.5619 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004846/0.4164, allocations: 267.2 kB / 0.5621 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008379/0.4173, allocations: 386.2 kB / 0.5625 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.4194, allocations: 1.088 MB / 0.5636 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4194, allocations: 4 kB / 0.5636 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4194, allocations: 0 / 0.5636 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.4194, allocations: 0 / 0.5636 GB, free: 0.9883 MB / 414.1 MB 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.002591/0.422, allocations: 1.052 MB / 0.5646 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4221, allocations: 8.031 kB / 0.5646 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.4225, allocations: 88.08 kB / 0.5647 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.4235, allocations: 0.5326 MB / 0.5652 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.4236, allocations: 108.9 kB / 0.5653 GB, free: 15.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.4237, allocations: 44.38 kB / 0.5654 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.425, allocations: 0.8252 MB / 0.5662 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.4251, allocations: 0 / 0.5662 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.08e-05/0.4251, allocations: 27.98 kB / 0.5662 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-05/0.4252, allocations: 36.98 kB / 0.5662 GB, free: 14.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.4263, allocations: 0.6438 MB / 0.5669 GB, free: 13.45 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005294/0.4316, allocations: 4.209 MB / 0.571 GB, free: 8.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009524/0.4326, allocations: 415 kB / 0.5714 GB, free: 8.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/0.433, allocations: 205.4 kB / 0.5716 GB, free: 8.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/0.4336, allocations: 0.5068 MB / 0.5721 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.4336, allocations: 38.83 kB / 0.5721 GB, free: 7.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 3.527e-06/0.4336, allocations: 0 / 0.5721 GB, free: 7.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003359/0.437, allocations: 1.52 MB / 0.5736 GB, free: 6.098 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.537e-05/0.4371, allocations: 136.5 kB / 0.5737 GB, free: 5.934 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006579/0.4378, allocations: 0.5693 MB / 0.5743 GB, free: 5.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.4378, allocations: 37.64 kB / 0.5743 GB, free: 5.309 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.4381, allocations: 355 kB / 0.5746 GB, free: 4.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.4382, allocations: 169.7 kB / 0.5748 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.4384, allocations: 138.5 kB / 0.5749 GB, free: 4.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4386, allocations: 378.7 kB / 0.5753 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003547/0.4389, allocations: 221.9 kB / 0.5755 GB, free: 4.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.4395, allocations: 0.5201 MB / 0.576 GB, free: 3.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.4404, allocations: 0.7796 MB / 0.5768 GB, free: 2.492 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.4405, allocations: 7.938 kB / 0.5768 GB, free: 2.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001725/0.4422, allocations: 0.9373 MB / 0.5777 GB, free: 1.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4422, allocations: 8 kB / 0.5777 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.4422, allocations: 8 kB / 0.5777 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.4433, allocations: 265 kB / 0.578 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.4438, allocations: 127.8 kB / 0.5781 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009058/0.4447, allocations: 0.8709 MB / 0.5789 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.4452, allocations: 24 kB / 0.579 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.126e-05/0.4452, allocations: 36 kB / 0.579 GB, free: 188 kB / 430.1 MB 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000334/0.4456, allocations: 249.6 kB / 0.5792 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.4457, allocations: 67.31 kB / 0.5793 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.447, allocations: 0.7135 MB / 0.58 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.447, allocations: 8 kB / 0.58 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.447, allocations: 0 / 0.58 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.447, allocations: 0 / 0.58 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/0.449, allocations: 1.404 MB / 0.5814 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.449, allocations: 15.98 kB / 0.5814 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009135/0.45, allocations: 187.8 kB / 0.5816 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002341/0.4502, allocations: 52.8 kB / 0.5816 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-05/0.4503, allocations: 15.98 kB / 0.5816 GB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.4525, allocations: 2.987 MB / 0.5846 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.4525, allocations: 4.031 kB / 0.5846 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.454, allocations: 0.9969 MB / 0.5855 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.4543, allocations: 196.2 kB / 0.5857 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.4544, allocations: 15.98 kB / 0.5857 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.4547, allocations: 12 kB / 0.5857 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.4548, allocations: 43.95 kB / 0.5858 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.994e-05/0.4549, allocations: 23.98 kB / 0.5858 GB, free: 8.766 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004816/0.4554, allocations: 423 kB / 0.5862 GB, free: 8.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4554, allocations: 0 / 0.5862 GB, free: 8.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007731/0.4562, allocations: 204 kB / 0.5864 GB, free: 8.148 MB / 446.1 MB 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0005072/0.4567, allocations: 242.1 kB / 0.5866 GB, free: 7.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.4578, allocations: 0.6046 MB / 0.5872 GB, free: 7.309 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4578, allocations: 4 kB / 0.5872 GB, free: 7.305 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001054/0.4589, allocations: 470.9 kB / 0.5877 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.4604, allocations: 372.8 kB / 0.588 GB, free: 6.477 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.4625, allocations: 1.447 MB / 0.5895 GB, free: 4.977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.463, allocations: 0.9346 MB / 0.5904 GB, free: 4.016 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.4632, allocations: 63.42 kB / 0.5904 GB, free: 3.953 MB / 446.1 MB Notification: Performance of SimCode: time 5.581e-06/0.4632, allocations: 0 / 0.5904 GB, free: 3.953 MB / 446.1 MB Notification: Performance of Templates: time 0.02079/0.484, allocations: 15.65 MB / 0.6057 GB, free: 4.391 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p