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.001296/0.001297, allocations: 114.4 kB / 17.74 MB, free: 5.43 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.001387/0.001387, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.467/1.467, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2381/0.2381, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 63.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.454, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05581/0.5099, allocations: 43.92 MB / 0.5617 GB, free: 32 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.5165, allocations: 4.377 MB / 0.566 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007293/0.5173, allocations: 19.88 kB / 0.566 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.5183, allocations: 318 kB / 0.5663 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.5203, allocations: 0.8511 MB / 0.5672 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.5231, allocations: 0.8919 MB / 0.568 GB, free: 9.566 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.5252, allocations: 1.798 MB / 0.5698 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000688/0.5259, allocations: 465.3 kB / 0.5702 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1204/0.6463, allocations: 44.53 MB / 0.6137 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02084/0.6672, allocations: 7.947 MB / 0.6215 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003775/0.6676, allocations: 64 kB / 0.6215 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02885/0.6965, allocations: 10.68 MB / 0.632 GB, free: 7.375 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008787/0.6975, allocations: 263.2 kB / 0.6322 GB, free: 7.117 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.6986, allocations: 394.2 kB / 0.6326 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.7011, allocations: 1.079 MB / 0.6337 GB, free: 5.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.7011, allocations: 4 kB / 0.6337 GB, free: 5.645 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.7011, allocations: 3.938 kB / 0.6337 GB, free: 5.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.89e-05/0.7012, allocations: 0 / 0.6337 GB, free: 5.641 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.003104/0.7043, allocations: 1.052 MB / 0.6347 GB, free: 4.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.7044, allocations: 8.031 kB / 0.6347 GB, free: 4.531 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005526/0.7049, allocations: 91.98 kB / 0.6348 GB, free: 4.441 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.7061, allocations: 0.5328 MB / 0.6353 GB, free: 3.867 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.7063, allocations: 96.97 kB / 0.6354 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.7064, allocations: 60.02 kB / 0.6355 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.7078, allocations: 0.8213 MB / 0.6363 GB, free: 2.805 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/0.7078, allocations: 7.984 kB / 0.6363 GB, free: 2.797 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.7079, allocations: 20 kB / 0.6363 GB, free: 2.777 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-05/0.708, allocations: 40.98 kB / 0.6363 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.7093, allocations: 0.6399 MB / 0.6369 GB, free: 2.094 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.005146/0.7144, allocations: 4.217 MB / 0.6411 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009227/0.7154, allocations: 408 kB / 0.6415 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.7157, allocations: 205.4 kB / 0.6417 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005775/0.7163, allocations: 0.5106 MB / 0.6421 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.7164, allocations: 38.89 kB / 0.6422 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.7164, allocations: 3.938 kB / 0.6422 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003406/0.7198, allocations: 1.529 MB / 0.6437 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.774e-05/0.7199, allocations: 136.5 kB / 0.6438 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007458/0.7206, allocations: 0.5654 MB / 0.6444 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.7207, allocations: 37.7 kB / 0.6444 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002547/0.721, allocations: 359 kB / 0.6447 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.7211, allocations: 161.7 kB / 0.6449 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.7213, allocations: 138.5 kB / 0.645 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.7215, allocations: 382.7 kB / 0.6454 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.7219, allocations: 217.9 kB / 0.6456 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005874/0.7225, allocations: 0.5201 MB / 0.6461 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009986/0.7235, allocations: 0.7796 MB / 0.6469 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.7235, allocations: 4 kB / 0.6469 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001772/0.7253, allocations: 0.941 MB / 0.6478 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.7253, allocations: 8 kB / 0.6478 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.7254, allocations: 12 kB / 0.6478 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.7265, allocations: 257.1 kB / 0.6481 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004292/0.7269, allocations: 135.8 kB / 0.6482 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009778/0.7279, allocations: 0.8636 MB / 0.649 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.7284, allocations: 27.98 kB / 0.6491 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.7285, allocations: 36 kB / 0.6491 GB, free: 4.805 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.0003589/0.7288, allocations: 249.5 kB / 0.6493 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000129/0.729, allocations: 67.25 kB / 0.6494 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001379/0.7304, allocations: 0.71 MB / 0.6501 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/0.7304, allocations: 7.984 kB / 0.6501 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.7304, allocations: 0 / 0.6501 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7304, allocations: 4 kB / 0.6501 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002196/0.7326, allocations: 1.401 MB / 0.6515 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7326, allocations: 0 / 0.6515 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.7337, allocations: 199.8 kB / 0.6517 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.734, allocations: 64.58 kB / 0.6517 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.734, allocations: 20.05 kB / 0.6517 GB, free: 2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002426/0.7365, allocations: 2.979 MB / 0.6546 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7365, allocations: 7.969 kB / 0.6547 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/0.7381, allocations: 0.9967 MB / 0.6556 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.7384, allocations: 200.2 kB / 0.6558 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.7385, allocations: 15.98 kB / 0.6558 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.739, allocations: 16 kB / 0.6559 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.7391, allocations: 39.95 kB / 0.6559 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.531e-05/0.7391, allocations: 19.98 kB / 0.6559 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00055/0.7397, allocations: 427 kB / 0.6563 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7397, allocations: 0 / 0.6563 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008198/0.7405, allocations: 200 kB / 0.6565 GB, free: 12.78 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.0005391/0.7411, allocations: 237.2 kB / 0.6567 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001284/0.7424, allocations: 0.6046 MB / 0.6573 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.7424, allocations: 0 / 0.6573 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.7436, allocations: 494.9 kB / 0.6578 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.001802/0.7455, allocations: 374.6 kB / 0.6582 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.7479, allocations: 1.392 MB / 0.6595 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.7485, allocations: 0.9424 MB / 0.6604 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006866/0.7492, allocations: 211.7 kB / 0.6606 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.7494, allocations: 67.36 kB / 0.6607 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of SimCode: time 9.62e-07/0.7494, allocations: 0 / 0.6607 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of Templates: time 0.0294/0.7788, allocations: 15.11 MB / 0.6754 GB, free: 9.488 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/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