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.001515/0.001515, allocations: 107.3 kB / 18.4 MB, free: 4.699 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.001666/0.001666, allocations: 187.3 kB / 19.34 MB, free: 3.777 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.262/1.262, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00117/0.00117, allocations: 51.92 kB / 329.2 MB, free: 3.344 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07189/0.07307, allocations: 46.62 MB / 375.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.2016/0.2747, allocations: 62.85 MB / 438.7 MB, free: 476 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.03048/0.3052, allocations: 26.01 MB / 464.7 MB, free: 6.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.3065, allocations: 55.62 kB / 464.7 MB, free: 6.594 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.3084, allocations: 0.7766 MB / 465.5 MB, free: 5.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01013/0.3185, allocations: 4.092 MB / 469.6 MB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01826/0.3368, allocations: 8.152 MB / 477.7 MB, free: 9.531 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005388/0.3422, allocations: 4.935 MB / 482.7 MB, free: 4.586 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.3434, allocations: 1.117 MB / 483.8 MB, free: 3.457 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01745/0.3609, allocations: 8.257 MB / 492 MB, free: 11.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01619/0.3771, allocations: 8.007 MB / 0.4883 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003462/0.3775, allocations: 160 kB / 0.4885 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/0.3932, allocations: 8.959 MB / 0.4972 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007505/0.394, allocations: 0.6974 MB / 0.4979 GB, free: 9.145 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.3952, allocations: 1.011 MB / 0.4989 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0112/0.4064, allocations: 7.569 MB / 0.5063 GB, free: 0.543 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4064, allocations: 3.938 kB / 0.5063 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.4064, allocations: 4 kB / 0.5063 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.4064, allocations: 0 / 0.5063 GB, free: 0.5352 MB / 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.005722/0.4122, allocations: 2.944 MB / 0.5092 GB, free: 13.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4122, allocations: 8.031 kB / 0.5092 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004034/0.4163, allocations: 0.5715 MB / 0.5097 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.4181, allocations: 1.223 MB / 0.5109 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.4182, allocations: 142.8 kB / 0.5111 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.4184, allocations: 144 kB / 0.5112 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00537/0.4238, allocations: 2.77 MB / 0.5139 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/0.4239, allocations: 7.938 kB / 0.5139 GB, free: 8.484 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/0.424, allocations: 59.98 kB / 0.514 GB, free: 8.426 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.4242, allocations: 150.6 kB / 0.5141 GB, free: 8.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00563/0.4298, allocations: 2.582 MB / 0.5166 GB, free: 5.688 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.01188/0.4417, allocations: 11.66 MB / 0.528 GB, free: 9.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004372/0.4461, allocations: 1.684 MB / 0.5297 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.4476, allocations: 0.8427 MB / 0.5305 GB, free: 6.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01639/0.464, allocations: 8.392 MB / 0.5387 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.464, allocations: 59.5 kB / 0.5388 GB, free: 13.13 MB / 478.1 MB Notification: Performance of pre-optimization done (n=114): time 2.805e-06/0.464, allocations: 0 / 0.5388 GB, free: 13.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=132): time 0.01975/0.4838, allocations: 7.204 MB / 0.5458 GB, free: 5.852 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.453e-05/0.4839, allocations: 141.8 kB / 0.5459 GB, free: 5.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.4853, allocations: 1.2 MB / 0.5471 GB, free: 4.469 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.841e-05/0.4854, allocations: 49.7 kB / 0.5471 GB, free: 4.414 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004598/0.4859, allocations: 0.7101 MB / 0.5478 GB, free: 3.695 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/0.4862, allocations: 461.4 kB / 0.5483 GB, free: 3.238 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004653/0.4867, allocations: 323.4 kB / 0.5486 GB, free: 2.914 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.043e-05/0.4868, allocations: 305.1 kB / 0.5489 GB, free: 2.613 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.4884, allocations: 0.8752 MB / 0.5497 GB, free: 1.734 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.4903, allocations: 1.264 MB / 0.551 GB, free: 320 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.118/2.609, allocations: 380.2 MB / 0.9223 GB, free: 171 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/2.609, allocations: 4.312 kB / 0.9223 GB, free: 171 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004874/2.614, allocations: 2.65 MB / 0.9248 GB, free: 170.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/2.614, allocations: 9.344 kB / 0.9249 GB, free: 170.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/2.614, allocations: 11 kB / 0.9249 GB, free: 170.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001519/2.615, allocations: 0.5047 MB / 0.9254 GB, free: 169.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/2.617, allocations: 363.3 kB / 0.9257 GB, free: 169.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/2.618, allocations: 2.915 MB / 0.9286 GB, free: 167.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/2.619, allocations: 94.62 kB / 0.9286 GB, free: 167.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/2.62, allocations: 73.02 kB / 0.9287 GB, free: 167.3 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.001889/2.621, allocations: 1.26 MB / 0.9299 GB, free: 166.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001517/2.623, allocations: 1.239 MB / 0.9312 GB, free: 165.7 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.01387/2.637, allocations: 5.898 MB / 0.9369 GB, free: 162.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.262e-06/2.637, allocations: 3.938 kB / 0.9369 GB, free: 162.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.00433/2.641, allocations: 2.603 MB / 0.9395 GB, free: 161.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/2.641, allocations: 7.375 kB / 0.9395 GB, free: 161.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/2.641, allocations: 11.22 kB / 0.9395 GB, free: 161.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/2.643, allocations: 0.504 MB / 0.94 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/2.644, allocations: 368.4 kB / 0.9403 GB, free: 160.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/2.645, allocations: 2.899 MB / 0.9431 GB, free: 157.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/2.646, allocations: 103.8 kB / 0.9432 GB, free: 157.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/2.646, allocations: 71.98 kB / 0.9433 GB, free: 157.5 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.0003202/2.647, allocations: 291 kB / 0.9436 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/2.647, allocations: 144.2 kB / 0.9437 GB, free: 157.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/2.653, allocations: 5.45 MB / 0.9491 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004963/2.658, allocations: 5.01 MB / 0.9539 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/2.658, allocations: 0 / 0.9539 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005916/2.659, allocations: 481.1 kB / 0.9544 GB, free: 146.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001996/2.659, allocations: 51.77 kB / 0.9545 GB, free: 146.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009679/2.66, allocations: 119.8 kB / 0.9546 GB, free: 146 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/2.66, allocations: 130.9 kB / 0.9547 GB, free: 145.9 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005266/2.665, allocations: 3.703 MB / 0.9583 GB, free: 142.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005411/2.671, allocations: 5.053 MB / 0.9632 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001601/2.672, allocations: 1.613 MB / 0.9648 GB, free: 135.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000963/2.673, allocations: 0.91 MB / 0.9657 GB, free: 134.5 MB / 494.1 MB Notification: Performance of Backend: time 3.1e-07/2.673, allocations: 0 / 0.9657 GB, free: 134.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01071/2.684, allocations: 4.6 MB / 0.9702 GB, free: 130.4 MB / 494.1 MB Notification: Performance of SimCode: time 0.005292/2.689, allocations: 4.802 MB / 0.9749 GB, free: 125.5 MB / 494.1 MB Notification: Performance of Templates: time 0.0853/2.775, allocations: 84.01 MB / 1.057 GB, free: 41.46 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