Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 215.5 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0_Modelica.Fluid.Examples.NonCircularPipes") translateModel(Modelica.Fluid.Examples.NonCircularPipes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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_4.1.0_Modelica.Fluid.Examples.NonCircularPipes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 43.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2176, allocations: 53.37 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.06441/0.282, allocations: 57.62 MB / 489.9 MB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03363/0.3156, allocations: 23.36 MB / 0.5013 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00109/0.3167, allocations: 75.31 kB / 0.5013 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.3186, allocations: 0.7221 MB / 0.502 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.3288, allocations: 4.192 MB / 0.5061 GB, free: 500 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02003/0.3488, allocations: 8.353 MB / 0.5143 GB, free: 8.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006247/0.3551, allocations: 5.178 MB / 0.5194 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001251/0.3563, allocations: 1.003 MB / 0.5203 GB, free: 1.922 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01648/0.3728, allocations: 8.354 MB / 0.5285 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01547/0.3883, allocations: 8.16 MB / 0.5365 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003764/0.3887, allocations: 163.9 kB / 0.5366 GB, free: 1.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2087/0.5974, allocations: 8.635 MB / 0.5451 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009371/0.5983, allocations: 0.7123 MB / 0.5457 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.5999, allocations: 0.8548 MB / 0.5466 GB, free: 24.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.6111, allocations: 7.552 MB / 0.554 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6111, allocations: 3.938 kB / 0.554 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.6111, allocations: 3.281 kB / 0.554 GB, free: 24.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.944e-05/0.6111, allocations: 0 / 0.554 GB, free: 24.05 MB / 446.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.006027/0.6172, allocations: 2.958 MB / 0.5569 GB, free: 22.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.6172, allocations: 9.438 kB / 0.5569 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004195/0.6214, allocations: 0.5837 MB / 0.5574 GB, free: 22.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.6234, allocations: 1.159 MB / 0.5586 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.6235, allocations: 138.7 kB / 0.5587 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/0.6237, allocations: 153.1 kB / 0.5588 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005302/0.629, allocations: 3.192 MB / 0.562 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.136e-05/0.6291, allocations: 6.156 kB / 0.562 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001617/0.6292, allocations: 63.45 kB / 0.562 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.6294, allocations: 153.3 kB / 0.5622 GB, free: 21.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005451/0.6348, allocations: 2.579 MB / 0.5647 GB, free: 21.39 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.01028/0.6451, allocations: 8.088 MB / 0.5726 GB, free: 17.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/0.6495, allocations: 1.625 MB / 0.5742 GB, free: 17.85 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001363/0.6508, allocations: 0.8086 MB / 0.575 GB, free: 17.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01558/0.6664, allocations: 4.499 MB / 0.5794 GB, free: 17.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.6665, allocations: 51.78 kB / 0.5794 GB, free: 17.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=114): time 3.397e-06/0.6665, allocations: 0 / 0.5794 GB, free: 17.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=132): time 0.01955/0.686, allocations: 7.055 MB / 0.5863 GB, free: 14.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.686, allocations: 149.8 kB / 0.5864 GB, free: 14.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009478/0.687, allocations: 0.9396 MB / 0.5874 GB, free: 13.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.6871, allocations: 54.64 kB / 0.5874 GB, free: 13.52 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.6874, allocations: 0.7452 MB / 0.5881 GB, free: 12.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.6877, allocations: 487.7 kB / 0.5886 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.6881, allocations: 326.9 kB / 0.5889 GB, free: 12.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.059e-05/0.6881, allocations: 309.1 kB / 0.5892 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.6896, allocations: 0.8785 MB / 0.5901 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.6912, allocations: 1.336 MB / 0.5914 GB, free: 10.27 MB / 446.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.0307/0.7219, allocations: 8.46 MB / 0.5996 GB, free: 3.281 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/0.7219, allocations: 7.562 kB / 0.5996 GB, free: 3.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004761/0.7267, allocations: 2.63 MB / 0.6022 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.7267, allocations: 12 kB / 0.6022 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.7267, allocations: 20.11 kB / 0.6022 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/0.7283, allocations: 0.5022 MB / 0.6027 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.7298, allocations: 363.7 kB / 0.6031 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002721/0.7325, allocations: 2.924 MB / 0.6059 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.7337, allocations: 91.91 kB / 0.606 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/0.7339, allocations: 75.98 kB / 0.6061 GB, free: 12.65 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.002511/0.7364, allocations: 1.258 MB / 0.6073 GB, free: 11.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002221/0.7386, allocations: 1.316 MB / 0.6086 GB, free: 9.91 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.018/0.7566, allocations: 5.754 MB / 0.6142 GB, free: 4.059 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.018e-05/0.7566, allocations: 4 kB / 0.6142 GB, free: 4.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.005859/0.7625, allocations: 2.585 MB / 0.6168 GB, free: 1.523 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.7625, allocations: 12.19 kB / 0.6168 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7625, allocations: 12 kB / 0.6168 GB, free: 1.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.7643, allocations: 0.5065 MB / 0.6173 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.7658, allocations: 361.2 kB / 0.6176 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/0.7685, allocations: 2.91 MB / 0.6205 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.7696, allocations: 95.86 kB / 0.6205 GB, free: 13.56 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.7698, allocations: 75.98 kB / 0.6206 GB, free: 13.49 MB / 478.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.0004305/0.7702, allocations: 285.2 kB / 0.6209 GB, free: 13.22 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.7705, allocations: 131.2 kB / 0.621 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008853/0.7794, allocations: 5.59 MB / 0.6265 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007539/0.7869, allocations: 5.159 MB / 0.6315 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.7869, allocations: 3.984 kB / 0.6315 GB, free: 2.195 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/0.7878, allocations: 390 kB / 0.6319 GB, free: 1.812 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002543/0.788, allocations: 55.77 kB / 0.6319 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.7891, allocations: 119.8 kB / 0.6321 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.7894, allocations: 132.5 kB / 0.6322 GB, free: 1.516 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007378/0.7968, allocations: 3.746 MB / 0.6358 GB, free: 13.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007979/0.8048, allocations: 5.151 MB / 0.6409 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002198/0.807, allocations: 1.386 MB / 0.6422 GB, free: 7.184 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001072/0.8081, allocations: 0.7155 MB / 0.6429 GB, free: 6.461 MB / 494.1 MB Notification: Performance of Backend: time 4.31e-07/0.8081, allocations: 0 / 0.6429 GB, free: 6.461 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01365/0.8217, allocations: 4.445 MB / 0.6473 GB, free: 2.289 MB / 494.1 MB Notification: Performance of SimCode: time 0.007046/0.8287, allocations: 4.715 MB / 0.6519 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.1198/0.9485, allocations: 83.08 MB / 0.733 GB, free: 11.03 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/NonCircularPipes/NonCircularPipes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Fluid.Examples.NonCircularPipes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.063584178999008]