Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001268/0.001268, allocations: 116 kB / 17.75 MB, free: 5.223 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.00132/0.00132, allocations: 185.4 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009635/0.0009635, allocations: 51.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2047, allocations: 49.42 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.NonCircularPipes): time 0.05473/0.2595, allocations: 62.87 MB / 464.3 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02951/0.289, allocations: 26.01 MB / 490.3 MB, free: 15.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008887/0.2899, allocations: 55.62 kB / 490.3 MB, free: 15.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001601/0.2916, allocations: 0.7844 MB / 491.1 MB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008332/0.2999, allocations: 4.136 MB / 495.2 MB, free: 10.69 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01745/0.3174, allocations: 8.178 MB / 0.4916 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004961/0.3224, allocations: 4.95 MB / 0.4965 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.3239, allocations: 1.12 MB / 0.4976 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01713/0.3411, allocations: 8.257 MB / 0.5056 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01622/0.3573, allocations: 8 MB / 0.5134 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003995/0.3577, allocations: 160 kB / 0.5136 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01527/0.373, allocations: 8.971 MB / 0.5223 GB, free: 2.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007956/0.3738, allocations: 0.7091 MB / 0.523 GB, free: 2.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.3751, allocations: 1.019 MB / 0.524 GB, free: 1.059 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.3862, allocations: 7.577 MB / 0.5314 GB, free: 9.461 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3862, allocations: 0 / 0.5314 GB, free: 9.461 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.3862, allocations: 3.984 kB / 0.5314 GB, free: 9.457 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.085e-05/0.3863, allocations: 0 / 0.5314 GB, free: 9.457 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.006551/0.3928, allocations: 2.952 MB / 0.5343 GB, free: 6.445 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3929, allocations: 8.031 kB / 0.5343 GB, free: 6.438 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/0.3971, allocations: 0.5638 MB / 0.5349 GB, free: 5.871 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002034/0.3991, allocations: 1.23 MB / 0.5361 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.3993, allocations: 142.8 kB / 0.5362 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.3995, allocations: 143.9 kB / 0.5363 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005608/0.4051, allocations: 2.762 MB / 0.539 GB, free: 1.414 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.4052, allocations: 15.88 kB / 0.5391 GB, free: 1.398 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.4053, allocations: 63.98 kB / 0.5391 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/0.4055, allocations: 142.6 kB / 0.5393 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1705/0.576, allocations: 2.583 MB / 0.5418 GB, free: 137.1 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.01205/0.5881, allocations: 11.65 MB / 0.5532 GB, free: 128.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/0.5923, allocations: 1.683 MB / 0.5548 GB, free: 127.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.5937, allocations: 0.8491 MB / 0.5556 GB, free: 127 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01522/0.6089, allocations: 8.395 MB / 0.5638 GB, free: 120.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.6089, allocations: 46.09 kB / 0.5639 GB, free: 120.4 MB / 462.1 MB Notification: Performance of pre-optimization done (n=114): time 2.995e-06/0.6089, allocations: 0 / 0.5639 GB, free: 120.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=132): time 0.0194/0.6284, allocations: 7.204 MB / 0.5709 GB, free: 113.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.6284, allocations: 141.8 kB / 0.571 GB, free: 113.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.6297, allocations: 1.204 MB / 0.5722 GB, free: 111.9 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.6298, allocations: 49.7 kB / 0.5723 GB, free: 111.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003207/0.6301, allocations: 0.7132 MB / 0.573 GB, free: 111.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002271/0.6304, allocations: 456.9 kB / 0.5734 GB, free: 110.7 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004106/0.6308, allocations: 327.4 kB / 0.5737 GB, free: 110.4 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.244e-05/0.6308, allocations: 301.1 kB / 0.574 GB, free: 110.1 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.6323, allocations: 0.8808 MB / 0.5749 GB, free: 109.2 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.6339, allocations: 1.26 MB / 0.5761 GB, free: 107.8 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.02826/0.6622, allocations: 8.462 MB / 0.5843 GB, free: 99.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.6622, allocations: 4 kB / 0.5843 GB, free: 99.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004872/0.6671, allocations: 2.649 MB / 0.5869 GB, free: 96.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.6672, allocations: 9.656 kB / 0.5869 GB, free: 96.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.6672, allocations: 15.98 kB / 0.587 GB, free: 96.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001496/0.6687, allocations: 0.5105 MB / 0.5875 GB, free: 95.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.67, allocations: 359.4 kB / 0.5878 GB, free: 95.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001617/0.6716, allocations: 2.916 MB / 0.5906 GB, free: 92.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.6729, allocations: 91.92 kB / 0.5907 GB, free: 92.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.673, allocations: 71.98 kB / 0.5908 GB, free: 92.43 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.001969/0.675, allocations: 1.257 MB / 0.592 GB, free: 91.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001572/0.6766, allocations: 1.246 MB / 0.5932 GB, free: 89.77 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.0145/0.6911, allocations: 5.893 MB / 0.599 GB, free: 83.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.053e-06/0.6911, allocations: 7.984 kB / 0.599 GB, free: 83.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=197) (initialization_lambda0): time 0.004637/0.6958, allocations: 2.599 MB / 0.6015 GB, free: 81.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6958, allocations: 16.03 kB / 0.6016 GB, free: 81.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.6958, allocations: 8 kB / 0.6016 GB, free: 81.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.6972, allocations: 0.5023 MB / 0.6021 GB, free: 80.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.6985, allocations: 363.4 kB / 0.6024 GB, free: 80.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/0.7001, allocations: 2.915 MB / 0.6053 GB, free: 77.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.7013, allocations: 99.86 kB / 0.6054 GB, free: 77.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001176/0.7014, allocations: 67.98 kB / 0.6054 GB, free: 76.99 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.0003876/0.7018, allocations: 295.1 kB / 0.6057 GB, free: 76.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003109/0.7021, allocations: 146.2 kB / 0.6058 GB, free: 76.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006399/0.7085, allocations: 5.451 MB / 0.6112 GB, free: 71.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005189/0.7138, allocations: 5.005 MB / 0.616 GB, free: 65.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.7138, allocations: 0 / 0.616 GB, free: 65.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007644/0.7145, allocations: 477.7 kB / 0.6165 GB, free: 65.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.7149, allocations: 55.75 kB / 0.6166 GB, free: 65.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/0.716, allocations: 124.2 kB / 0.6167 GB, free: 65.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002326/0.7163, allocations: 125.1 kB / 0.6168 GB, free: 65.15 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005652/0.7219, allocations: 3.704 MB / 0.6204 GB, free: 61.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005776/0.7277, allocations: 5.052 MB / 0.6253 GB, free: 56.34 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001714/0.7294, allocations: 1.62 MB / 0.6269 GB, free: 54.71 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.7305, allocations: 0.9089 MB / 0.6278 GB, free: 53.8 MB / 462.1 MB Notification: Performance of Backend: time 3.3e-07/0.7305, allocations: 0 / 0.6278 GB, free: 53.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01187/0.7424, allocations: 4.6 MB / 0.6323 GB, free: 49.61 MB / 462.1 MB Notification: Performance of SimCode: time 0.006049/0.7485, allocations: 4.8 MB / 0.637 GB, free: 44.78 MB / 462.1 MB Notification: Performance of Templates: time 0.09897/0.8474, allocations: 82.98 MB / 0.718 GB, free: 10.03 MB / 0.4981 GB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Fluid.Examples.NonCircularPipes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches