Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.425/1.425, allocations: 230.4 MB / 258.1 MB, free: 8.168 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-beta.om/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=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-beta.om_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-beta.om_Modelica.Fluid.Examples.NonCircularPipes") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 67.84 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2163, allocations: 53.32 MB / 432 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.06728/0.2836, allocations: 64.01 MB / 496 MB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03434/0.3179, allocations: 26.18 MB / 0.51 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.319, allocations: 51.69 kB / 0.51 GB, free: 12.86 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.3208, allocations: 0.8 MB / 0.5108 GB, free: 12.06 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009378/0.3302, allocations: 4.164 MB / 0.5149 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01921/0.3494, allocations: 8.184 MB / 0.5229 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006152/0.3556, allocations: 4.984 MB / 0.5277 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001324/0.3569, allocations: 0.9758 MB / 0.5287 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01668/0.3736, allocations: 8.319 MB / 0.5368 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.201/0.5746, allocations: 8.141 MB / 0.5448 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003944/0.5749, allocations: 157.7 kB / 0.5449 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01326/0.5882, allocations: 9.034 MB / 0.5537 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006049/0.5888, allocations: 0.7121 MB / 0.5544 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009863/0.5898, allocations: 1.025 MB / 0.5554 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007978/0.5978, allocations: 7.617 MB / 0.5629 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5978, allocations: 3.125 kB / 0.5629 GB, free: 15.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.5978, allocations: 0 / 0.5629 GB, free: 15.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.779e-05/0.5978, allocations: 0 / 0.5629 GB, free: 15.54 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.005476/0.6033, allocations: 3.046 MB / 0.5659 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.6033, allocations: 10.66 kB / 0.5659 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/0.6073, allocations: 0.5803 MB / 0.5664 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/0.6092, allocations: 1.236 MB / 0.5676 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.6093, allocations: 138.1 kB / 0.5678 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002034/0.6095, allocations: 148.7 kB / 0.5679 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004933/0.6144, allocations: 2.756 MB / 0.5706 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.6145, allocations: 11.94 kB / 0.5706 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.6146, allocations: 71.88 kB / 0.5707 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001378/0.6148, allocations: 142.5 kB / 0.5708 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005278/0.6201, allocations: 2.59 MB / 0.5734 GB, free: 13.16 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.01016/0.6302, allocations: 11.67 MB / 0.5848 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004125/0.6343, allocations: 1.638 MB / 0.5864 GB, free: 4.262 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.6356, allocations: 0.8067 MB / 0.5871 GB, free: 4.105 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01769/0.6533, allocations: 9.11 MB / 0.596 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.6533, allocations: 43.06 kB / 0.5961 GB, free: 11.11 MB / 462.1 MB Notification: Performance of pre-optimization done (n=114): time 2.915e-06/0.6533, allocations: 2.625 kB / 0.5961 GB, free: 11.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=132): time 0.02143/0.6748, allocations: 7.235 MB / 0.6031 GB, free: 5.469 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.6749, allocations: 141.8 kB / 0.6033 GB, free: 5.301 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.6764, allocations: 1.2 MB / 0.6045 GB, free: 4.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.6765, allocations: 51.33 kB / 0.6045 GB, free: 4.348 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005473/0.6771, allocations: 0.7259 MB / 0.6052 GB, free: 3.859 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.6775, allocations: 482.4 kB / 0.6057 GB, free: 3.457 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004965/0.678, allocations: 327.6 kB / 0.606 GB, free: 3.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6781, allocations: 305.1 kB / 0.6063 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.6799, allocations: 0.8819 MB / 0.6071 GB, free: 2.348 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.6821, allocations: 1.262 MB / 0.6084 GB, free: 1.254 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.03294/0.715, allocations: 8.605 MB / 0.6168 GB, free: 8.895 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.715, allocations: 0 / 0.6168 GB, free: 8.895 MB / 478.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005926/0.721, allocations: 2.652 MB / 0.6194 GB, free: 6.293 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.721, allocations: 12 kB / 0.6194 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.721, allocations: 11.98 kB / 0.6194 GB, free: 6.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/0.7227, allocations: 0.5061 MB / 0.6199 GB, free: 5.758 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001513/0.7242, allocations: 367.6 kB / 0.6202 GB, free: 5.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.7269, allocations: 2.908 MB / 0.6231 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.7281, allocations: 96.12 kB / 0.6232 GB, free: 2.328 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.7282, allocations: 71.98 kB / 0.6232 GB, free: 2.258 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 system: circular_pipe.mediums[1].p = 1e6 annulus_pipe.mediums[1].p = 1e6. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002488/0.7307, allocations: 1.261 MB / 0.6245 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002223/0.7329, allocations: 1.243 MB / 0.6257 GB, free: 15.61 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.01743/0.7504, allocations: 5.891 MB / 0.6314 GB, free: 9.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.223e-06/0.7504, allocations: 4 kB / 0.6314 GB, free: 9.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.005721/0.7561, allocations: 2.602 MB / 0.634 GB, free: 7.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.7561, allocations: 14.97 kB / 0.634 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.7561, allocations: 12.88 kB / 0.634 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001645/0.7578, allocations: 0.4987 MB / 0.6345 GB, free: 6.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.7593, allocations: 364.4 kB / 0.6348 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002619/0.7619, allocations: 2.916 MB / 0.6377 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.7632, allocations: 95.91 kB / 0.6378 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.7633, allocations: 67.98 kB / 0.6378 GB, free: 3.004 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.0004917/0.7638, allocations: 294 kB / 0.6381 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.7641, allocations: 159 kB / 0.6383 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008734/0.7728, allocations: 5.447 MB / 0.6436 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00733/0.7802, allocations: 5.006 MB / 0.6485 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.7802, allocations: 0 / 0.6485 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009829/0.7811, allocations: 487 kB / 0.6489 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.7814, allocations: 59.78 kB / 0.649 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.7826, allocations: 119.8 kB / 0.6491 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.7828, allocations: 125.1 kB / 0.6492 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007093/0.7899, allocations: 3.71 MB / 0.6529 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007841/0.7978, allocations: 5.062 MB / 0.6578 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002184/0.8, allocations: 1.355 MB / 0.6591 GB, free: 13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001387/0.8013, allocations: 0.9089 MB / 0.66 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of Backend: time 2.71e-07/0.8013, allocations: 3.844 kB / 0.66 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01359/0.8149, allocations: 4.467 MB / 0.6644 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of SimCode: time 0.007473/0.8224, allocations: 4.9 MB / 0.6692 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of Templates: time 0.2877/1.11, allocations: 84.46 MB / 0.7516 GB, free: 255.7 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Fluid.Examples.NonCircularPipes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Fluid/Examples/NonCircularPipes/NonCircularPipes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.344612048007548]