Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.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) 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(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes") translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|annulus_pipe.mediums.1..h|annulus_pipe.mediums.2..h|annulus_pipe.mediums.2..p|circular_pipe.mediums.1..h|circular_pipe.mediums.2..h|circular_pipe.mediums.2..p",fileNamePrefix="Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 114.3 kB / 18.46 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.001084/0.001084, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2023, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.05501/0.2573, allocations: 63.06 MB / 473 MB, free: 2.309 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02883/0.2862, allocations: 26.03 MB / 499 MB, free: 8.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007663/0.287, allocations: 55.62 kB / 499.1 MB, free: 8.145 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.2886, allocations: 0.7806 MB / 499.8 MB, free: 7.359 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008108/0.2967, allocations: 4.13 MB / 0.4922 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01665/0.3134, allocations: 8.169 MB / 0.5001 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004554/0.318, allocations: 4.977 MB / 0.505 GB, free: 6.066 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.3191, allocations: 1.124 MB / 0.5061 GB, free: 4.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01613/0.3352, allocations: 8.292 MB / 0.5142 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0154/0.3506, allocations: 8.004 MB / 0.522 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.3509, allocations: 160 kB / 0.5222 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.3658, allocations: 9.002 MB / 0.5309 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006307/0.3664, allocations: 0.6974 MB / 0.5316 GB, free: 10.53 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.3676, allocations: 1.019 MB / 0.5326 GB, free: 9.504 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00909/0.3767, allocations: 7.6 MB / 0.54 GB, free: 1.887 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3767, allocations: 3.938 kB / 0.5401 GB, free: 1.883 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3767, allocations: 4 kB / 0.5401 GB, free: 1.879 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.3767, allocations: 0 / 0.5401 GB, free: 1.879 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.1672/0.5439, allocations: 2.959 MB / 0.5429 GB, free: 131.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.544, allocations: 8.719 kB / 0.543 GB, free: 131.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004238/0.5482, allocations: 0.5686 MB / 0.5435 GB, free: 131.5 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.5501, allocations: 1.221 MB / 0.5447 GB, free: 130.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.5502, allocations: 140.5 kB / 0.5448 GB, free: 130.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.5504, allocations: 143.6 kB / 0.545 GB, free: 130.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004821/0.5552, allocations: 2.759 MB / 0.5477 GB, free: 129.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.054e-05/0.5553, allocations: 20.45 kB / 0.5477 GB, free: 129.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.5555, allocations: 61.39 kB / 0.5477 GB, free: 129.6 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.5556, allocations: 149.6 kB / 0.5479 GB, free: 129.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004927/0.5605, allocations: 2.592 MB / 0.5504 GB, free: 128.6 MB / 462.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.009515/0.5701, allocations: 11.65 MB / 0.5618 GB, free: 118.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003947/0.574, allocations: 1.674 MB / 0.5634 GB, free: 117.2 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.5753, allocations: 0.8439 MB / 0.5643 GB, free: 116.4 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/0.5899, allocations: 9.117 MB / 0.5732 GB, free: 106.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.5899, allocations: 47.56 kB / 0.5732 GB, free: 106.2 MB / 462.1 MB Notification: Performance of pre-optimization done (n=114): time 2.625e-06/0.5899, allocations: 3.938 kB / 0.5732 GB, free: 106.2 MB / 462.1 MB Notification: Performance of matching and sorting (n=132): time 0.01766/0.6076, allocations: 7.198 MB / 0.5802 GB, free: 98.97 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.6076, allocations: 149.8 kB / 0.5804 GB, free: 98.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.6087, allocations: 1.204 MB / 0.5816 GB, free: 97.58 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.6088, allocations: 49.7 kB / 0.5816 GB, free: 97.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/0.6091, allocations: 0.7081 MB / 0.5823 GB, free: 96.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.6093, allocations: 464.7 kB / 0.5827 GB, free: 96.36 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/0.6097, allocations: 319.4 kB / 0.583 GB, free: 96.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.609e-05/0.6097, allocations: 305.1 kB / 0.5833 GB, free: 95.74 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.6111, allocations: 0.8791 MB / 0.5842 GB, free: 94.86 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.6126, allocations: 1.256 MB / 0.5854 GB, free: 93.45 MB / 462.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: circular_pipe.mediums[1].p = 1e6 (boundary.p = 1e6) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: annulus_pipe.mediums[1].p = 1e6 (boundary.p = 1e6) Notification: Performance of analyzeInitialSystem (initialization): time 0.02778/0.6404, allocations: 8.613 MB / 0.5938 GB, free: 84.65 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.6404, allocations: 4 kB / 0.5938 GB, free: 84.65 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004339/0.6448, allocations: 2.653 MB / 0.5964 GB, free: 81.97 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.6448, allocations: 8 kB / 0.5964 GB, free: 81.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.6448, allocations: 12 kB / 0.5964 GB, free: 81.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001442/0.6463, allocations: 0.5072 MB / 0.5969 GB, free: 81.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.6475, allocations: 359.5 kB / 0.5973 GB, free: 81.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.6491, allocations: 2.908 MB / 0.6001 GB, free: 78.07 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.6501, allocations: 100.1 kB / 0.6002 GB, free: 77.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.6502, allocations: 71.98 kB / 0.6003 GB, free: 77.91 MB / 462.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: circular_pipe.mediums[1].p = 1e6 annulus_pipe.mediums[1].p = 1e6. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001748/0.6519, allocations: 1.26 MB / 0.6015 GB, free: 76.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001453/0.6534, allocations: 1.242 MB / 0.6027 GB, free: 75.25 MB / 462.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: circular_pipe.mediums[1].p = 1e6 (boundary.p = 1e6) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: annulus_pipe.mediums[1].p = 1e6 (boundary.p = 1e6) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01364/0.667, allocations: 5.896 MB / 0.6085 GB, free: 69.17 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-06/0.6671, allocations: 0 / 0.6085 GB, free: 69.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004354/0.6714, allocations: 2.598 MB / 0.611 GB, free: 66.55 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.6715, allocations: 16.92 kB / 0.611 GB, free: 66.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6715, allocations: 12 kB / 0.6111 GB, free: 66.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00137/0.6728, allocations: 0.5028 MB / 0.6115 GB, free: 66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.6741, allocations: 361.8 kB / 0.6119 GB, free: 65.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.6756, allocations: 2.908 MB / 0.6147 GB, free: 62.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/0.6766, allocations: 95.91 kB / 0.6148 GB, free: 62.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.6767, allocations: 71.98 kB / 0.6149 GB, free: 62.48 MB / 462.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: circular_pipe.mediums[1].p = 1e6 annulus_pipe.mediums[1].p = 1e6. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 11 (annulus_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,circular_pipe.statesFM[1].phase,massflowsink2.medium.phase,massflowsink1.medium.phase,boundary.medium.phase,annulus_pipe.state_b.phase,annulus_pipe.state_a.phase,circular_pipe.state_b.phase,circular_pipe.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(2,8), (1,1), (2,8), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002567/0.6769, allocations: 291.8 kB / 0.6152 GB, free: 62.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/0.6772, allocations: 150.2 kB / 0.6153 GB, free: 62.04 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005895/0.6831, allocations: 5.45 MB / 0.6206 GB, free: 56.54 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005051/0.6881, allocations: 5.005 MB / 0.6255 GB, free: 51.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6882, allocations: 0 / 0.6255 GB, free: 51.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006282/0.6888, allocations: 481.7 kB / 0.626 GB, free: 50.92 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/0.689, allocations: 59.61 kB / 0.626 GB, free: 50.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009766/0.69, allocations: 119.8 kB / 0.6261 GB, free: 50.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.6902, allocations: 125.1 kB / 0.6263 GB, free: 50.62 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005206/0.6954, allocations: 3.699 MB / 0.6299 GB, free: 46.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005308/0.7007, allocations: 5.056 MB / 0.6348 GB, free: 41.81 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001568/0.7023, allocations: 1.624 MB / 0.6364 GB, free: 40.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008852/0.7032, allocations: 0.905 MB / 0.6373 GB, free: 39.28 MB / 462.1 MB Notification: Performance of Backend: time 4.81e-07/0.7032, allocations: 0 / 0.6373 GB, free: 39.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01002/0.7133, allocations: 4.619 MB / 0.6418 GB, free: 35.06 MB / 462.1 MB Notification: Performance of SimCode: time 0.005067/0.7183, allocations: 4.799 MB / 0.6465 GB, free: 30.23 MB / 462.1 MB Notification: Performance of Templates: time 0.0929/0.8112, allocations: 83.05 MB / 0.7276 GB, free: 11.39 MB / 0.5138 GB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/NonCircularPipes/NonCircularPipes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches