Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 200 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007032/0.0007034, allocations: 100 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2989/0.2989, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002552, allocations: 8 kB / 470.8 MB, free: 7.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2873, allocations: 63.09 MB / 0.5214 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04092/0.3283, allocations: 57.09 MB / 0.5771 GB, free: 7.379 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007186/0.3355, allocations: 6.336 MB / 0.5833 GB, free: 1.426 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008659/0.3364, allocations: 22.66 kB / 0.5833 GB, free: 1.414 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000882/0.3373, allocations: 277.5 kB / 0.5836 GB, free: 1.184 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002118/0.3394, allocations: 0.8051 MB / 0.5844 GB, free: 0.543 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.3417, allocations: 0.8059 MB / 0.5852 GB, free: 15.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00279/0.3445, allocations: 2.671 MB / 0.5878 GB, free: 14.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000631/0.3451, allocations: 386.7 kB / 0.5882 GB, free: 14.28 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0959/0.441, allocations: 43.4 MB / 0.6305 GB, free: 3 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01743/0.4585, allocations: 7.959 MB / 0.6383 GB, free: 10.94 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004417/0.459, allocations: 35.94 kB / 0.6383 GB, free: 10.91 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.025/0.4841, allocations: 10.64 MB / 0.6487 GB, free: 136 kB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006015/0.4847, allocations: 223.4 kB / 0.649 GB, free: 15.91 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009081/0.4856, allocations: 388 kB / 0.6493 GB, free: 15.52 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.4875, allocations: 1.036 MB / 0.6503 GB, free: 14.49 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4876, allocations: 3.938 kB / 0.6503 GB, free: 14.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.517e-06/0.4876, allocations: 0 / 0.6503 GB, free: 14.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.852e-05/0.4876, allocations: 3.938 kB / 0.6503 GB, free: 14.48 MB / 474.7 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.002337/0.49, allocations: 0.9117 MB / 0.6512 GB, free: 13.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.49, allocations: 8.031 kB / 0.6512 GB, free: 13.51 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004281/0.4904, allocations: 91.94 kB / 0.6513 GB, free: 13.42 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.4914, allocations: 0.5016 MB / 0.6518 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.4916, allocations: 105 kB / 0.6519 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.4917, allocations: 56.03 kB / 0.652 GB, free: 12.71 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.493, allocations: 0.8135 MB / 0.6528 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.4931, allocations: 4 kB / 0.6528 GB, free: 11.82 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.932e-05/0.4931, allocations: 27.98 kB / 0.6528 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/0.4932, allocations: 40.97 kB / 0.6528 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.4943, allocations: 0.6438 MB / 0.6535 GB, free: 11.11 MB / 474.7 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.00481/0.4991, allocations: 4.205 MB / 0.6576 GB, free: 6.613 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008269/0.5, allocations: 411.9 kB / 0.658 GB, free: 6.203 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000327/0.5003, allocations: 209.4 kB / 0.6582 GB, free: 5.996 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005153/0.5008, allocations: 0.5028 MB / 0.6587 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.5009, allocations: 38.89 kB / 0.6587 GB, free: 5.336 MB / 474.7 MB Notification: Performance of pre-optimization done (n=40): time 3.336e-06/0.5009, allocations: 0 / 0.6587 GB, free: 5.336 MB / 474.7 MB Notification: Performance of matching and sorting (n=45): time 0.00312/0.504, allocations: 1.517 MB / 0.6602 GB, free: 3.762 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.5041, allocations: 144.5 kB / 0.6603 GB, free: 3.59 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006308/0.5048, allocations: 0.5576 MB / 0.6609 GB, free: 3.023 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.694e-05/0.5048, allocations: 37.7 kB / 0.6609 GB, free: 2.98 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002646/0.5051, allocations: 351 kB / 0.6612 GB, free: 2.629 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.5052, allocations: 165.7 kB / 0.6614 GB, free: 2.465 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.5053, allocations: 12 kB / 0.6614 GB, free: 2.453 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.5054, allocations: 378.7 kB / 0.6618 GB, free: 2.074 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003631/0.5058, allocations: 221.9 kB / 0.662 GB, free: 1.859 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.5063, allocations: 0.524 MB / 0.6625 GB, free: 1.195 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000923/0.5073, allocations: 0.7718 MB / 0.6632 GB, free: 300 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5073, allocations: 0 / 0.6632 GB, free: 300 kB / 474.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001876/0.5092, allocations: 0.9647 MB / 0.6642 GB, free: 15.32 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5092, allocations: 8 kB / 0.6642 GB, free: 15.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.5092, allocations: 16.03 kB / 0.6642 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.5103, allocations: 272.7 kB / 0.6645 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.5108, allocations: 127.7 kB / 0.6646 GB, free: 14.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009261/0.5117, allocations: 0.8567 MB / 0.6654 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.5123, allocations: 51.89 kB / 0.6655 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.966e-05/0.5124, allocations: 39.98 kB / 0.6655 GB, free: 13.93 MB / 490.7 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.0003653/0.5127, allocations: 249.5 kB / 0.6657 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.5129, allocations: 63.25 kB / 0.6658 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.5142, allocations: 0.7119 MB / 0.6665 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.5143, allocations: 11.94 kB / 0.6665 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.5143, allocations: 4 kB / 0.6665 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5143, allocations: 3.984 kB / 0.6665 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.5165, allocations: 1.403 MB / 0.6679 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5165, allocations: 4 kB / 0.6679 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009374/0.5174, allocations: 187.8 kB / 0.6681 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003005/0.5178, allocations: 65 kB / 0.6681 GB, free: 11.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.5178, allocations: 15.98 kB / 0.6681 GB, free: 11.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002188/0.52, allocations: 2.789 MB / 0.6709 GB, free: 8.055 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.52, allocations: 4.031 kB / 0.6709 GB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001527/0.5216, allocations: 0.9995 MB / 0.6718 GB, free: 7.008 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.5219, allocations: 200.2 kB / 0.672 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.5221, allocations: 12.06 kB / 0.6721 GB, free: 6.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004509/0.5225, allocations: 31.92 kB / 0.6721 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.5226, allocations: 43.81 kB / 0.6721 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.771e-05/0.5227, allocations: 16 kB / 0.6721 GB, free: 6.691 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005245/0.5232, allocations: 423 kB / 0.6725 GB, free: 6.281 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5232, allocations: 0 / 0.6725 GB, free: 6.281 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008166/0.5241, allocations: 204 kB / 0.6727 GB, free: 6.082 MB / 490.7 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.0005654/0.5246, allocations: 261.8 kB / 0.673 GB, free: 5.828 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.5258, allocations: 0.6008 MB / 0.6736 GB, free: 5.227 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5259, allocations: 0 / 0.6736 GB, free: 5.227 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.527, allocations: 483.3 kB / 0.674 GB, free: 4.742 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.5288, allocations: 358.3 kB / 0.6744 GB, free: 4.391 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.5313, allocations: 1.712 MB / 0.676 GB, free: 2.633 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005046/0.5318, allocations: 0.9424 MB / 0.677 GB, free: 1.664 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008101/0.5326, allocations: 209.9 kB / 0.6772 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.5328, allocations: 59.42 kB / 0.6772 GB, free: 1.398 MB / 490.7 MB Notification: Performance of SimCode: time 2.505e-06/0.5328, allocations: 0 / 0.6772 GB, free: 1.398 MB / 490.7 MB Notification: Performance of Templates: time 0.2231/0.7559, allocations: 14.47 MB / 0.6914 GB, free: 141.9 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches