Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001308, allocations: 108 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00148/0.00148, allocations: 211.8 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2041/0.2041, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 71.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2951, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02002/0.3152, allocations: 20.36 MB / 0.5515 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00624/0.3215, allocations: 4.294 MB / 0.5557 GB, free: 9.008 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007564/0.3223, allocations: 19.88 kB / 0.5558 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.3232, allocations: 314 kB / 0.5561 GB, free: 8.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.3252, allocations: 0.8549 MB / 0.5569 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.3274, allocations: 0.8978 MB / 0.5578 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001964/0.3294, allocations: 1.793 MB / 0.5595 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006672/0.33, allocations: 473.2 kB / 0.56 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.3318, allocations: 0.9379 MB / 0.5609 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008774/0.3327, allocations: 0.6422 MB / 0.5615 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001171/0.3328, allocations: 60 kB / 0.5616 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007775/0.3336, allocations: 307.6 kB / 0.5619 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.3339, allocations: 255.3 kB / 0.5621 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.3342, allocations: 390.2 kB / 0.5625 GB, free: 2.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001316/0.3356, allocations: 1.088 MB / 0.5635 GB, free: 1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3356, allocations: 0 / 0.5635 GB, free: 1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3356, allocations: 4 kB / 0.5635 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.3356, allocations: 0 / 0.5635 GB, free: 0.9961 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.002105/0.3377, allocations: 1.052 MB / 0.5646 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.3378, allocations: 8.031 kB / 0.5646 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.3381, allocations: 84.09 kB / 0.5647 GB, free: 15.8 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008022/0.3389, allocations: 0.5364 MB / 0.5652 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001065/0.339, allocations: 105 kB / 0.5653 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.779e-05/0.3391, allocations: 44.38 kB / 0.5653 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.3403, allocations: 0.8213 MB / 0.5661 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3404, allocations: 4 kB / 0.5661 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/0.3405, allocations: 27.94 kB / 0.5662 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.998e-05/0.3405, allocations: 36.98 kB / 0.5662 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009872/0.3415, allocations: 0.64 MB / 0.5668 GB, free: 13.47 MB / 430.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.004469/0.346, allocations: 4.213 MB / 0.5709 GB, free: 8.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008369/0.3469, allocations: 414.6 kB / 0.5713 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.3472, allocations: 213.4 kB / 0.5715 GB, free: 8.344 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/0.3476, allocations: 0.5106 MB / 0.572 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.3477, allocations: 38.88 kB / 0.5721 GB, free: 7.676 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.3477, allocations: 0 / 0.5721 GB, free: 7.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003041/0.3507, allocations: 1.524 MB / 0.5736 GB, free: 6.094 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.3508, allocations: 140.5 kB / 0.5737 GB, free: 5.926 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.3514, allocations: 0.5693 MB / 0.5742 GB, free: 5.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.3515, allocations: 33.7 kB / 0.5743 GB, free: 5.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.3518, allocations: 351 kB / 0.5746 GB, free: 4.957 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.3519, allocations: 169.7 kB / 0.5748 GB, free: 4.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001858/0.3521, allocations: 138.5 kB / 0.5749 GB, free: 4.648 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3522, allocations: 378.7 kB / 0.5753 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.3526, allocations: 221.9 kB / 0.5755 GB, free: 4.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/0.3531, allocations: 0.5201 MB / 0.576 GB, free: 3.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.3541, allocations: 0.7796 MB / 0.5768 GB, free: 2.492 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3541, allocations: 8 kB / 0.5768 GB, free: 2.484 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002047/0.3562, allocations: 0.9374 MB / 0.5777 GB, free: 1.539 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.3562, allocations: 8 kB / 0.5777 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.3562, allocations: 11.98 kB / 0.5777 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.3577, allocations: 260.9 kB / 0.5779 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.3584, allocations: 127.8 kB / 0.5781 GB, free: 1.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.3597, allocations: 0.8721 MB / 0.5789 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005333/0.3602, allocations: 24 kB / 0.5789 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.3603, allocations: 35.98 kB / 0.579 GB, free: 184 kB / 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.000401/0.3607, allocations: 249.6 kB / 0.5792 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.3608, allocations: 63.25 kB / 0.5793 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.3622, allocations: 0.7167 MB / 0.58 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.3623, allocations: 8 kB / 0.58 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.3623, allocations: 0 / 0.58 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.3623, allocations: 0 / 0.58 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.3645, allocations: 1.401 MB / 0.5813 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.3645, allocations: 12.09 kB / 0.5814 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.3655, allocations: 191.8 kB / 0.5815 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002468/0.3658, allocations: 52.8 kB / 0.5816 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-05/0.3659, allocations: 15.98 kB / 0.5816 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00251/0.3684, allocations: 2.987 MB / 0.5845 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.3684, allocations: 4.031 kB / 0.5845 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.37, allocations: 1.001 MB / 0.5855 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.3703, allocations: 192.2 kB / 0.5857 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.182e-05/0.3704, allocations: 16 kB / 0.5857 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.3708, allocations: 12 kB / 0.5857 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/0.3709, allocations: 51.83 kB / 0.5858 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.371, allocations: 19.98 kB / 0.5858 GB, free: 8.766 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000515/0.3715, allocations: 423 kB / 0.5862 GB, free: 8.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3715, allocations: 0 / 0.5862 GB, free: 8.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008165/0.3724, allocations: 204 kB / 0.5864 GB, free: 8.148 MB / 446.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.0005391/0.3729, allocations: 233.8 kB / 0.5866 GB, free: 7.918 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.3742, allocations: 0.6086 MB / 0.5872 GB, free: 7.312 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.3742, allocations: 4 kB / 0.5872 GB, free: 7.309 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.3754, allocations: 470.3 kB / 0.5877 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001791/0.3772, allocations: 380.7 kB / 0.588 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.3796, allocations: 1.444 MB / 0.5894 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006547/0.3803, allocations: 0.9346 MB / 0.5903 GB, free: 4.023 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.3805, allocations: 67.42 kB / 0.5904 GB, free: 3.957 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3805, allocations: 0 / 0.5904 GB, free: 3.957 MB / 446.1 MB Notification: Performance of Templates: time 0.02034/0.4009, allocations: 15.63 MB / 0.6057 GB, free: 4.406 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p