Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearColdWater,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.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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 113.4 kB / 17.78 MB, free: 5.285 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.002628/0.002628, allocations: 183.1 kB / 18.71 MB, free: 4.371 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.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2127/0.2127, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3731/0.3755, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02218/0.3977, allocations: 20.25 MB / 0.5387 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007039/0.4048, allocations: 4.284 MB / 0.5429 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.4062, allocations: 19.31 kB / 0.5429 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.4076, allocations: 318 kB / 0.5432 GB, free: 460 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.4105, allocations: 0.8649 MB / 0.544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.4133, allocations: 0.8981 MB / 0.5449 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00328/0.4166, allocations: 1.792 MB / 0.5467 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008938/0.4175, allocations: 465.2 kB / 0.5471 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.4201, allocations: 0.9426 MB / 0.548 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.4213, allocations: 0.638 MB / 0.5487 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.4214, allocations: 60.5 kB / 0.5487 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.4225, allocations: 303.5 kB / 0.549 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003144/0.4228, allocations: 259.5 kB / 0.5492 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005457/0.4234, allocations: 395.2 kB / 0.5496 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.4251, allocations: 1.085 MB / 0.5507 GB, free: 11.47 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4251, allocations: 0 / 0.5507 GB, free: 11.47 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4251, allocations: 4 kB / 0.5507 GB, free: 11.47 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.4251, allocations: 0 / 0.5507 GB, free: 11.47 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.002445/0.4276, allocations: 1.048 MB / 0.5517 GB, free: 10.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.4276, allocations: 8.031 kB / 0.5517 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.428, allocations: 88.08 kB / 0.5518 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009608/0.429, allocations: 0.5365 MB / 0.5523 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.4291, allocations: 105 kB / 0.5524 GB, free: 9.586 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.811e-05/0.4292, allocations: 44.38 kB / 0.5525 GB, free: 9.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001251/0.4305, allocations: 0.8213 MB / 0.5533 GB, free: 8.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.4305, allocations: 7.938 kB / 0.5533 GB, free: 8.641 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.144e-05/0.4306, allocations: 27.94 kB / 0.5533 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.91e-05/0.4307, allocations: 40.97 kB / 0.5533 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.4318, allocations: 0.64 MB / 0.554 GB, free: 7.93 MB / 414.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.005091/0.4369, allocations: 4.221 MB / 0.5581 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000939/0.4378, allocations: 408 kB / 0.5585 GB, free: 3.012 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.4382, allocations: 209.4 kB / 0.5587 GB, free: 2.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000515/0.4387, allocations: 0.5068 MB / 0.5592 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4388, allocations: 34.89 kB / 0.5592 GB, free: 2.145 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.515e-06/0.4388, allocations: 0 / 0.5592 GB, free: 2.145 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003393/0.4422, allocations: 1.528 MB / 0.5607 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.864e-05/0.4423, allocations: 132.5 kB / 0.5608 GB, free: 408 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007572/0.443, allocations: 0.5693 MB / 0.5614 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.222e-05/0.4431, allocations: 37.7 kB / 0.5614 GB, free: 15.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003019/0.4434, allocations: 351 kB / 0.5618 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.4436, allocations: 173.7 kB / 0.5619 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000229/0.4438, allocations: 134.5 kB / 0.562 GB, free: 15.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.444, allocations: 378.7 kB / 0.5624 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000414/0.4445, allocations: 225.9 kB / 0.5626 GB, free: 14.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006893/0.4452, allocations: 0.5162 MB / 0.5631 GB, free: 13.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.4463, allocations: 0.7796 MB / 0.5639 GB, free: 12.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4463, allocations: 8 kB / 0.5639 GB, free: 12.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001823/0.4481, allocations: 0.9335 MB / 0.5648 GB, free: 12.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.4482, allocations: 12 kB / 0.5648 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4482, allocations: 8 kB / 0.5648 GB, free: 11.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.4494, allocations: 268.9 kB / 0.5651 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.4499, allocations: 127.8 kB / 0.5652 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.4511, allocations: 0.8701 MB / 0.5661 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000724/0.4519, allocations: 27.98 kB / 0.5661 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.378e-05/0.452, allocations: 32 kB / 0.5661 GB, free: 10.65 MB / 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.000582/0.4525, allocations: 249.5 kB / 0.5663 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.4527, allocations: 67.16 kB / 0.5664 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.4543, allocations: 0.7131 MB / 0.5671 GB, free: 9.609 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.4543, allocations: 4 kB / 0.5671 GB, free: 9.605 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.4544, allocations: 7.984 kB / 0.5671 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4544, allocations: 0 / 0.5671 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.457, allocations: 1.397 MB / 0.5685 GB, free: 8.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4571, allocations: 12.09 kB / 0.5685 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009923/0.4581, allocations: 195.8 kB / 0.5687 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002496/0.4583, allocations: 52.8 kB / 0.5687 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.4584, allocations: 11.94 kB / 0.5687 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.461, allocations: 2.99 MB / 0.5717 GB, free: 4.586 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.461, allocations: 4.031 kB / 0.5717 GB, free: 4.582 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.4626, allocations: 1.005 MB / 0.5726 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003327/0.4629, allocations: 192.2 kB / 0.5728 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.4631, allocations: 16 kB / 0.5728 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003981/0.4635, allocations: 15.98 kB / 0.5729 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4636, allocations: 47.89 kB / 0.5729 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.4636, allocations: 19.98 kB / 0.5729 GB, free: 3.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005458/0.4642, allocations: 423 kB / 0.5733 GB, free: 2.812 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4642, allocations: 0 / 0.5733 GB, free: 2.812 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008457/0.465, allocations: 204 kB / 0.5735 GB, free: 2.613 MB / 430.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.0005275/0.4656, allocations: 241.2 kB / 0.5738 GB, free: 2.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.4668, allocations: 0.6088 MB / 0.5744 GB, free: 1.773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4668, allocations: 7.938 kB / 0.5744 GB, free: 1.766 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001192/0.468, allocations: 486.2 kB / 0.5748 GB, free: 1.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.4697, allocations: 371.4 kB / 0.5752 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.472, allocations: 1.395 MB / 0.5765 GB, free: 15.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.4725, allocations: 0.9385 MB / 0.5775 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006346/0.4732, allocations: 206.7 kB / 0.5777 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.4734, allocations: 63.42 kB / 0.5777 GB, free: 14.26 MB / 446.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4735, allocations: 0 / 0.5777 GB, free: 14.26 MB / 446.1 MB Notification: Performance of Templates: time 0.02536/0.4988, allocations: 15.29 MB / 0.5926 GB, free: 15.17 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches