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.001853/0.001853, allocations: 112.8 kB / 17.77 MB, free: 5.387 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.002071/0.002071, allocations: 180.9 kB / 18.7 MB, free: 4.469 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.397/1.397, 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.2189/0.2189, allocations: 44.18 MB / 336.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 63.89 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3427, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.01949/0.3622, allocations: 20.27 MB / 0.5387 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006123/0.3683, allocations: 4.296 MB / 0.5429 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007711/0.3691, allocations: 19.69 kB / 0.5429 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.3701, allocations: 315.1 kB / 0.5432 GB, free: 416 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002148/0.3722, allocations: 0.8691 MB / 0.5441 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002418/0.3746, allocations: 0.906 MB / 0.545 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002226/0.3769, allocations: 1.795 MB / 0.5467 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005695/0.3774, allocations: 411.9 kB / 0.5471 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001763/0.3792, allocations: 0.9385 MB / 0.548 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008653/0.3801, allocations: 0.6304 MB / 0.5486 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001157/0.3802, allocations: 59.81 kB / 0.5487 GB, free: 12.81 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000853/0.381, allocations: 311.7 kB / 0.549 GB, free: 12.69 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002681/0.3813, allocations: 271.4 kB / 0.5493 GB, free: 12.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.3817, allocations: 387.2 kB / 0.5496 GB, free: 12.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.3831, allocations: 1.09 MB / 0.5507 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3831, allocations: 0 / 0.5507 GB, free: 11.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3831, allocations: 0 / 0.5507 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3831, allocations: 0 / 0.5507 GB, free: 11.43 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.002069/0.3852, allocations: 1.078 MB / 0.5517 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3852, allocations: 8.031 kB / 0.5518 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003449/0.3856, allocations: 92.47 kB / 0.5518 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.3863, allocations: 0.537 MB / 0.5524 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.3864, allocations: 101 kB / 0.5525 GB, free: 9.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/0.3865, allocations: 56.3 kB / 0.5525 GB, free: 9.457 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.3877, allocations: 0.8174 MB / 0.5533 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.3877, allocations: 4 kB / 0.5533 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/0.3878, allocations: 20 kB / 0.5533 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.3878, allocations: 44.91 kB / 0.5534 GB, free: 8.496 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.3889, allocations: 0.6478 MB / 0.554 GB, free: 7.848 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.004352/0.3932, allocations: 4.222 MB / 0.5581 GB, free: 3.336 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008877/0.3941, allocations: 411.8 kB / 0.5585 GB, free: 2.926 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000322/0.3944, allocations: 193.4 kB / 0.5587 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004552/0.3949, allocations: 0.4911 MB / 0.5592 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.3949, allocations: 38.89 kB / 0.5592 GB, free: 2.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 2.304e-06/0.3949, allocations: 0 / 0.5592 GB, free: 2.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003152/0.3981, allocations: 1.541 MB / 0.5607 GB, free: 500 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3981, allocations: 140.5 kB / 0.5609 GB, free: 328 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006192/0.3987, allocations: 0.5694 MB / 0.5614 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.3988, allocations: 33.7 kB / 0.5615 GB, free: 15.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.399, allocations: 359.9 kB / 0.5618 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.3992, allocations: 170.6 kB / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.3994, allocations: 142.6 kB / 0.5621 GB, free: 15.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3995, allocations: 374.7 kB / 0.5625 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003729/0.3999, allocations: 229.9 kB / 0.5627 GB, free: 14.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005947/0.4005, allocations: 0.5162 MB / 0.5632 GB, free: 13.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/0.4015, allocations: 0.7796 MB / 0.5639 GB, free: 12.88 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.4015, allocations: 0 / 0.5639 GB, free: 12.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001675/0.4031, allocations: 0.9331 MB / 0.5649 GB, free: 11.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4032, allocations: 12.95 kB / 0.5649 GB, free: 11.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.4032, allocations: 12 kB / 0.5649 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.4042, allocations: 264.6 kB / 0.5651 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.4046, allocations: 123.8 kB / 0.5652 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009754/0.4056, allocations: 0.8683 MB / 0.5661 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.4061, allocations: 28 kB / 0.5661 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.4061, allocations: 40.05 kB / 0.5662 GB, free: 10.56 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.00034/0.4065, allocations: 237.5 kB / 0.5664 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.4066, allocations: 71.53 kB / 0.5665 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.4079, allocations: 0.7204 MB / 0.5672 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.4079, allocations: 7.938 kB / 0.5672 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4079, allocations: 0 / 0.5672 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.4079, allocations: 3.984 kB / 0.5672 GB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.4099, allocations: 1.401 MB / 0.5685 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.4099, allocations: 7.938 kB / 0.5685 GB, free: 8.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/0.4109, allocations: 191.7 kB / 0.5687 GB, free: 7.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002213/0.4111, allocations: 57.02 kB / 0.5688 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.4111, allocations: 19.98 kB / 0.5688 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002218/0.4133, allocations: 2.979 MB / 0.5717 GB, free: 4.508 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4133, allocations: 4.031 kB / 0.5717 GB, free: 4.504 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.4149, allocations: 1.009 MB / 0.5727 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.4152, allocations: 200.6 kB / 0.5729 GB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.4153, allocations: 15.94 kB / 0.5729 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.4157, allocations: 12 kB / 0.5729 GB, free: 3.207 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.4158, allocations: 39.89 kB / 0.573 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.731e-05/0.4159, allocations: 19.98 kB / 0.573 GB, free: 3.148 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005821/0.4164, allocations: 423 kB / 0.5734 GB, free: 2.734 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4164, allocations: 4.062 kB / 0.5734 GB, free: 2.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000821/0.4173, allocations: 211.9 kB / 0.5736 GB, free: 2.523 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.0004803/0.4177, allocations: 225.4 kB / 0.5738 GB, free: 2.301 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.4189, allocations: 0.5776 MB / 0.5744 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4189, allocations: 4 kB / 0.5744 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.4201, allocations: 494.4 kB / 0.5748 GB, free: 1.227 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001601/0.4217, allocations: 366.5 kB / 0.5752 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002101/0.4238, allocations: 1.414 MB / 0.5766 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.4242, allocations: 0.9346 MB / 0.5775 GB, free: 14.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005675/0.4248, allocations: 206.7 kB / 0.5777 GB, free: 14.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.4249, allocations: 63.42 kB / 0.5777 GB, free: 14.2 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.4249, allocations: 0 / 0.5777 GB, free: 14.2 MB / 446.1 MB Notification: Performance of Templates: time 0.02483/0.4498, allocations: 15.37 MB / 0.5927 GB, free: 15.03 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