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.001257/0.001257, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001251/0.001251, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.269/1.269, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2036/0.2036, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3441, 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.01952/0.3636, allocations: 20.25 MB / 0.5387 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006269/0.37, allocations: 4.292 MB / 0.5429 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007815/0.3708, allocations: 19.69 kB / 0.5429 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.3718, allocations: 312.9 kB / 0.5432 GB, free: 428 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.3739, allocations: 0.8441 MB / 0.544 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.3762, allocations: 0.8934 MB / 0.5449 GB, free: 15.06 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002136/0.3783, allocations: 1.797 MB / 0.5466 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005807/0.3789, allocations: 459.6 kB / 0.5471 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.3805, allocations: 0.928 MB / 0.548 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000865/0.3813, allocations: 0.6333 MB / 0.5486 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.3815, allocations: 59.75 kB / 0.5487 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000776/0.3823, allocations: 307.5 kB / 0.549 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.3825, allocations: 268.1 kB / 0.5492 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.3829, allocations: 391.3 kB / 0.5496 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3843, allocations: 1.091 MB / 0.5507 GB, free: 11.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3843, allocations: 0 / 0.5507 GB, free: 11.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3843, allocations: 0 / 0.5507 GB, free: 11.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.3843, allocations: 0 / 0.5507 GB, free: 11.48 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.001978/0.3863, allocations: 1.07 MB / 0.5517 GB, free: 10.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3863, allocations: 12.03 kB / 0.5517 GB, free: 10.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.3867, allocations: 96.45 kB / 0.5518 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007841/0.3875, allocations: 0.5331 MB / 0.5523 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.3876, allocations: 105 kB / 0.5524 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.572e-05/0.3877, allocations: 52.36 kB / 0.5525 GB, free: 9.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.3889, allocations: 0.8213 MB / 0.5533 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3889, allocations: 0 / 0.5533 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.419e-05/0.389, allocations: 24 kB / 0.5533 GB, free: 8.602 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-05/0.3891, allocations: 36.98 kB / 0.5533 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.3901, allocations: 0.6478 MB / 0.554 GB, free: 7.914 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.004439/0.3946, allocations: 4.225 MB / 0.5581 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008379/0.3954, allocations: 415.9 kB / 0.5585 GB, free: 2.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.3957, allocations: 205.4 kB / 0.5587 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004493/0.3962, allocations: 0.4911 MB / 0.5592 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3962, allocations: 46.83 kB / 0.5592 GB, free: 2.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.824e-06/0.3963, allocations: 0 / 0.5592 GB, free: 2.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.003014/0.3993, allocations: 1.541 MB / 0.5607 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.3994, allocations: 132.5 kB / 0.5608 GB, free: 376 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006149/0.4, allocations: 0.5732 MB / 0.5614 GB, free: 15.78 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.4, allocations: 37.7 kB / 0.5614 GB, free: 15.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.4003, allocations: 359.9 kB / 0.5618 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.4004, allocations: 166.6 kB / 0.5619 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002071/0.4006, allocations: 150.6 kB / 0.5621 GB, free: 15.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4008, allocations: 378.7 kB / 0.5624 GB, free: 14.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003647/0.4012, allocations: 221.9 kB / 0.5627 GB, free: 14.47 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/0.4017, allocations: 0.5162 MB / 0.5632 GB, free: 13.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009389/0.4027, allocations: 0.7796 MB / 0.5639 GB, free: 12.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.4027, allocations: 4 kB / 0.5639 GB, free: 12.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001684/0.4044, allocations: 0.9418 MB / 0.5648 GB, free: 11.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4044, allocations: 12 kB / 0.5649 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.4044, allocations: 8 kB / 0.5649 GB, free: 11.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/0.4055, allocations: 264.6 kB / 0.5651 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.4059, allocations: 127.8 kB / 0.5652 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009426/0.4069, allocations: 0.8677 MB / 0.5661 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.4074, allocations: 28 kB / 0.5661 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.174e-05/0.4074, allocations: 36 kB / 0.5661 GB, free: 10.6 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.0003088/0.4078, allocations: 253.3 kB / 0.5664 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.4079, allocations: 79.53 kB / 0.5665 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.4092, allocations: 0.7102 MB / 0.5672 GB, free: 9.547 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.4092, allocations: 8 kB / 0.5672 GB, free: 9.539 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4092, allocations: 4 kB / 0.5672 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4092, allocations: 3.938 kB / 0.5672 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.4112, allocations: 1.393 MB / 0.5685 GB, free: 8.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.4112, allocations: 11.92 kB / 0.5685 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009126/0.4121, allocations: 192 kB / 0.5687 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.4124, allocations: 52.8 kB / 0.5688 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.131e-05/0.4124, allocations: 19.92 kB / 0.5688 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.4148, allocations: 2.979 MB / 0.5717 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.4148, allocations: 8 kB / 0.5717 GB, free: 4.523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.4164, allocations: 1.001 MB / 0.5727 GB, free: 3.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.4167, allocations: 200.6 kB / 0.5729 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.4168, allocations: 15.98 kB / 0.5729 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003805/0.4172, allocations: 16 kB / 0.5729 GB, free: 3.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.4173, allocations: 47.95 kB / 0.573 GB, free: 3.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.59e-05/0.4174, allocations: 19.98 kB / 0.573 GB, free: 3.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005193/0.4179, allocations: 419 kB / 0.5734 GB, free: 2.754 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4179, allocations: 0 / 0.5734 GB, free: 2.754 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000792/0.4187, allocations: 203.9 kB / 0.5736 GB, free: 2.555 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.0005227/0.4193, allocations: 233.8 kB / 0.5738 GB, free: 2.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00115/0.4204, allocations: 0.6048 MB / 0.5744 GB, free: 1.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.932e-06/0.4204, allocations: 8.062 kB / 0.5744 GB, free: 1.715 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.4216, allocations: 494.1 kB / 0.5749 GB, free: 1.219 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.4233, allocations: 378.5 kB / 0.5752 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.4256, allocations: 1.406 MB / 0.5766 GB, free: 15.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007898/0.4264, allocations: 0.9385 MB / 0.5775 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006618/0.4271, allocations: 214.5 kB / 0.5777 GB, free: 14.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4273, allocations: 63.42 kB / 0.5778 GB, free: 14.18 MB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4273, allocations: 0 / 0.5778 GB, free: 14.18 MB / 446.1 MB Notification: Performance of Templates: time 0.02538/0.4527, allocations: 15.28 MB / 0.5927 GB, free: 15.09 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