Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 103.1 kB / 18.4 MB, free: 4.629 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.001358/0.001358, allocations: 188.5 kB / 19.34 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 225.2 MB, free: 12.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 43.92 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07181/0.07311, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.1992/0.2724, allocations: 62.85 MB / 438.7 MB, free: 452 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02938/0.3018, allocations: 26.01 MB / 464.7 MB, free: 6.641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.3033, allocations: 59.56 kB / 464.7 MB, free: 6.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.3054, allocations: 0.7767 MB / 465.5 MB, free: 5.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.3158, allocations: 4.145 MB / 469.6 MB, free: 1.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01812/0.3339, allocations: 8.151 MB / 477.8 MB, free: 9.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005249/0.3392, allocations: 4.942 MB / 482.7 MB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.3404, allocations: 1.107 MB / 483.8 MB, free: 3.395 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01698/0.3574, allocations: 8.264 MB / 492.1 MB, free: 11.02 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01635/0.3738, allocations: 8.004 MB / 0.4884 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003985/0.3742, allocations: 156 kB / 0.4885 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01614/0.3903, allocations: 8.963 MB / 0.4973 GB, free: 9.777 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008261/0.3912, allocations: 0.6974 MB / 0.498 GB, free: 9.078 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.3925, allocations: 1.019 MB / 0.499 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.4047, allocations: 7.589 MB / 0.5064 GB, free: 456 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4047, allocations: 0 / 0.5064 GB, free: 456 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.4047, allocations: 3.938 kB / 0.5064 GB, free: 452 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.4047, allocations: 0 / 0.5064 GB, free: 452 kB / 430.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.005872/0.4106, allocations: 3.034 MB / 0.5093 GB, free: 13.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.4106, allocations: 8.031 kB / 0.5094 GB, free: 13.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004105/0.4147, allocations: 0.5842 MB / 0.5099 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.4166, allocations: 1.227 MB / 0.5111 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.4167, allocations: 146.8 kB / 0.5113 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.417, allocations: 143.9 kB / 0.5114 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005346/0.4223, allocations: 2.762 MB / 0.5141 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.149e-05/0.4224, allocations: 7.938 kB / 0.5141 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001572/0.4225, allocations: 67.97 kB / 0.5142 GB, free: 8.211 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.4227, allocations: 146.6 kB / 0.5143 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005686/0.4284, allocations: 2.586 MB / 0.5168 GB, free: 5.473 MB / 446.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.01223/0.4407, allocations: 11.68 MB / 0.5282 GB, free: 8.902 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004408/0.4451, allocations: 1.669 MB / 0.5299 GB, free: 7.227 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.4466, allocations: 0.8505 MB / 0.5307 GB, free: 6.371 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01626/0.4628, allocations: 8.396 MB / 0.5389 GB, free: 12.97 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.4629, allocations: 51.5 kB / 0.5389 GB, free: 12.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=114): time 3.146e-06/0.4629, allocations: 0 / 0.5389 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=132): time 0.02032/0.4832, allocations: 7.231 MB / 0.546 GB, free: 5.613 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.4833, allocations: 141.8 kB / 0.5461 GB, free: 5.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.4848, allocations: 1.2 MB / 0.5473 GB, free: 4.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.4849, allocations: 53.7 kB / 0.5474 GB, free: 4.172 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.4854, allocations: 0.7352 MB / 0.5481 GB, free: 3.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003215/0.4857, allocations: 475.9 kB / 0.5485 GB, free: 2.961 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004749/0.4862, allocations: 323.5 kB / 0.5488 GB, free: 2.637 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.776e-05/0.4863, allocations: 305.1 kB / 0.5491 GB, free: 2.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.4879, allocations: 0.883 MB / 0.55 GB, free: 1.449 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.4898, allocations: 1.26 MB / 0.5512 GB, free: 32 kB / 478.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 2.161/2.651, allocations: 380.2 MB / 0.9225 GB, free: 170.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/2.651, allocations: 2.625 kB / 0.9225 GB, free: 170.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004928/2.656, allocations: 2.662 MB / 0.9251 GB, free: 170 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/2.656, allocations: 10.09 kB / 0.9251 GB, free: 170 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/2.656, allocations: 10.31 kB / 0.9251 GB, free: 170 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/2.657, allocations: 0.5033 MB / 0.9256 GB, free: 169.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/2.659, allocations: 366.8 kB / 0.926 GB, free: 169.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/2.66, allocations: 2.91 MB / 0.9288 GB, free: 167.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/2.661, allocations: 91.67 kB / 0.9289 GB, free: 167 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/2.662, allocations: 79.03 kB / 0.929 GB, free: 167 MB / 494.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.00187/2.663, allocations: 1.257 MB / 0.9302 GB, free: 166.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001498/2.665, allocations: 1.242 MB / 0.9314 GB, free: 165.4 MB / 494.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.01413/2.679, allocations: 5.888 MB / 0.9372 GB, free: 162.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/2.679, allocations: 7.906 kB / 0.9372 GB, free: 162.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004476/2.684, allocations: 2.607 MB / 0.9397 GB, free: 160.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/2.684, allocations: 14.88 kB / 0.9397 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/2.684, allocations: 11.59 kB / 0.9398 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001409/2.685, allocations: 0.5045 MB / 0.9402 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/2.686, allocations: 371.4 kB / 0.9406 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/2.688, allocations: 2.907 MB / 0.9434 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/2.689, allocations: 100.1 kB / 0.9435 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/2.689, allocations: 75.97 kB / 0.9436 GB, free: 156.8 MB / 494.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.000348/2.689, allocations: 290.7 kB / 0.9439 GB, free: 156.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002173/2.69, allocations: 151.4 kB / 0.944 GB, free: 156.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005967/2.696, allocations: 5.458 MB / 0.9494 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004864/2.7, allocations: 5.014 MB / 0.9543 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/2.7, allocations: 0 / 0.9543 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/2.701, allocations: 481.2 kB / 0.9547 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/2.701, allocations: 58.08 kB / 0.9548 GB, free: 145.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009818/2.702, allocations: 119.9 kB / 0.9549 GB, free: 145.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/2.702, allocations: 125.1 kB / 0.955 GB, free: 145.2 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005334/2.708, allocations: 3.704 MB / 0.9586 GB, free: 141.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005551/2.713, allocations: 5.069 MB / 0.9636 GB, free: 136.4 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001625/2.715, allocations: 1.613 MB / 0.9651 GB, free: 134.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000966/2.716, allocations: 0.9139 MB / 0.966 GB, free: 133.9 MB / 494.1 MB Notification: Performance of Backend: time 5.41e-07/2.716, allocations: 4 kB / 0.966 GB, free: 133.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01109/2.727, allocations: 4.617 MB / 0.9706 GB, free: 129.7 MB / 494.1 MB Notification: Performance of SimCode: time 0.005338/2.732, allocations: 4.859 MB / 0.9753 GB, free: 124.9 MB / 494.1 MB Notification: Performance of Templates: time 0.08387/2.816, allocations: 82.95 MB / 1.056 GB, free: 41.84 MB / 494.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/NonCircularPipes/NonCircularPipes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.NonCircularPipes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches