Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.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.001367/0.001367, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001458/0.001458, allocations: 185.2 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2006/0.2006, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3484, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05397/0.4024, allocations: 43.92 MB / 0.5625 GB, free: 32 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007235/0.4097, allocations: 4.381 MB / 0.5667 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009941/0.4108, allocations: 19.88 kB / 0.5668 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.4121, allocations: 314 kB / 0.5671 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00276/0.4149, allocations: 0.8549 MB / 0.5679 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.4176, allocations: 0.8917 MB / 0.5688 GB, free: 9.562 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002497/0.4201, allocations: 1.798 MB / 0.5705 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009309/0.421, allocations: 457.3 kB / 0.571 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1055/0.5265, allocations: 44.54 MB / 0.6145 GB, free: 10.28 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01714/0.5437, allocations: 7.955 MB / 0.6222 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003749/0.5441, allocations: 60 kB / 0.6223 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02422/0.5684, allocations: 10.68 MB / 0.6327 GB, free: 7.363 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.569, allocations: 263.2 kB / 0.633 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008816/0.5699, allocations: 390.2 kB / 0.6333 GB, free: 6.723 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.5722, allocations: 1.083 MB / 0.6344 GB, free: 5.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5723, allocations: 0 / 0.6344 GB, free: 5.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5723, allocations: 0 / 0.6344 GB, free: 5.637 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.606e-05/0.5723, allocations: 0 / 0.6344 GB, free: 5.637 MB / 494.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.002801/0.5751, allocations: 1.056 MB / 0.6354 GB, free: 4.531 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5752, allocations: 12.03 kB / 0.6354 GB, free: 4.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004115/0.5756, allocations: 88 kB / 0.6355 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/0.5765, allocations: 0.5289 MB / 0.636 GB, free: 3.863 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.5766, allocations: 104.9 kB / 0.6361 GB, free: 3.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/0.5768, allocations: 60.02 kB / 0.6362 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.578, allocations: 0.8174 MB / 0.637 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.5781, allocations: 4 kB / 0.637 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.281e-05/0.5781, allocations: 24 kB / 0.637 GB, free: 2.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/0.5782, allocations: 40.92 kB / 0.6371 GB, free: 2.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.5793, allocations: 0.6478 MB / 0.6377 GB, free: 2.078 MB / 494.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.004956/0.5842, allocations: 4.213 MB / 0.6418 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008758/0.5851, allocations: 418.6 kB / 0.6422 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003164/0.5855, allocations: 209.4 kB / 0.6424 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004994/0.586, allocations: 0.499 MB / 0.6429 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.586, allocations: 42.83 kB / 0.6429 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/0.586, allocations: 0 / 0.6429 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003273/0.5893, allocations: 1.536 MB / 0.6444 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.5894, allocations: 140.5 kB / 0.6446 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007004/0.5901, allocations: 0.5616 MB / 0.6451 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.12e-05/0.5902, allocations: 33.7 kB / 0.6451 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/0.5905, allocations: 355 kB / 0.6455 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.5906, allocations: 165.7 kB / 0.6456 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.5908, allocations: 142.5 kB / 0.6458 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.591, allocations: 374.7 kB / 0.6461 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.5914, allocations: 221.9 kB / 0.6463 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/0.592, allocations: 0.524 MB / 0.6469 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.593, allocations: 0.7757 MB / 0.6476 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.593, allocations: 4 kB / 0.6476 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001766/0.5948, allocations: 0.9367 MB / 0.6485 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.5948, allocations: 11.98 kB / 0.6485 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.5948, allocations: 12.91 kB / 0.6486 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.5959, allocations: 264.6 kB / 0.6488 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004122/0.5964, allocations: 123.8 kB / 0.6489 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009401/0.5973, allocations: 0.8644 MB / 0.6498 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004774/0.5978, allocations: 24 kB / 0.6498 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.5979, allocations: 43.98 kB / 0.6498 GB, free: 4.785 MB / 0.4981 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 (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.0003446/0.5982, allocations: 241.6 kB / 0.6501 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.5984, allocations: 63.25 kB / 0.6501 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.5997, allocations: 0.7175 MB / 0.6508 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.5997, allocations: 4 kB / 0.6508 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.5997, allocations: 0 / 0.6508 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5997, allocations: 3.984 kB / 0.6508 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.6019, allocations: 1.404 MB / 0.6522 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.631e-06/0.6019, allocations: 0 / 0.6522 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009739/0.6029, allocations: 195.7 kB / 0.6524 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.6031, allocations: 60.86 kB / 0.6524 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.6032, allocations: 23.92 kB / 0.6525 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.6057, allocations: 2.983 MB / 0.6554 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6057, allocations: 4.031 kB / 0.6554 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001582/0.6073, allocations: 1.001 MB / 0.6564 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.6077, allocations: 204.3 kB / 0.6566 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.6078, allocations: 8.141 kB / 0.6566 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.6082, allocations: 16 kB / 0.6566 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.6083, allocations: 47.81 kB / 0.6566 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.6084, allocations: 19.98 kB / 0.6566 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005817/0.609, allocations: 423 kB / 0.657 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.609, allocations: 0 / 0.657 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009149/0.6099, allocations: 212 kB / 0.6573 GB, free: 12.75 MB / 0.5137 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 (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.0006415/0.6106, allocations: 220.5 kB / 0.6575 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.6118, allocations: 0.6111 MB / 0.6581 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.6118, allocations: 1.625 kB / 0.6581 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.613, allocations: 478.6 kB / 0.6585 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001646/0.6146, allocations: 376.2 kB / 0.6589 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.617, allocations: 1.438 MB / 0.6603 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.6176, allocations: 0.9346 MB / 0.6612 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.6178, allocations: 71.36 kB / 0.6613 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of SimCode: time 5.91e-07/0.6178, allocations: 0 / 0.6613 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of Templates: time 0.02258/0.6404, allocations: 15.63 MB / 0.6765 GB, free: 9.02 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches