Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.NonCircularPipes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001392/0.001392, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009512/0.0009516, allocations: 92.84 kB / 292.1 MB, free: 5.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.493e-05, allocations: 7.984 kB / 350.5 MB, free: 2.562 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 51.49 MB / 402 MB, free: 15.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.774/7.895, allocations: 2.802 GB / 3.194 GB, free: 71.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/7.895, allocations: 83.23 kB / 3.194 GB, free: 71.26 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.494/10.39, allocations: 0.5549 GB / 3.749 GB, free: 20.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/10.39, allocations: 0 / 3.749 GB, free: 20.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002214/10.39, allocations: 57.41 kB / 3.749 GB, free: 20.43 MB / 458.7 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.0135/10.4, allocations: 2.803 MB / 3.752 GB, free: 18.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.144e-05/10.4, allocations: 11.25 kB / 3.752 GB, free: 18.86 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005431/10.41, allocations: 0.6022 MB / 3.753 GB, free: 18.72 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005003/10.41, allocations: 1.437 MB / 3.754 GB, free: 18.01 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/10.41, allocations: 147.4 kB / 3.754 GB, free: 17.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007309/10.41, allocations: 147.3 kB / 3.754 GB, free: 17.91 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007558/10.42, allocations: 2.793 MB / 3.757 GB, free: 16.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.863e-05/10.42, allocations: 7.812 kB / 3.757 GB, free: 16.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004907/10.42, allocations: 71.66 kB / 3.757 GB, free: 16.26 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/10.42, allocations: 127.2 kB / 3.757 GB, free: 16.23 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005126/10.43, allocations: 2.49 MB / 3.76 GB, free: 14.82 MB / 458.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01459/10.44, allocations: 11.73 MB / 3.771 GB, free: 2.297 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/10.45, allocations: 1.613 MB / 3.773 GB, free: 0.6758 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009239/10.45, allocations: 0.7535 MB / 3.773 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01827/10.47, allocations: 9.034 MB / 3.782 GB, free: 5.754 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.182e-05/10.47, allocations: 47.56 kB / 3.782 GB, free: 5.695 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 3.506e-06/10.47, allocations: 0 / 3.782 GB, free: 5.695 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.4346/10.9, allocations: 6.301 MB / 3.788 GB, free: 40.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/10.9, allocations: 147.6 kB / 3.789 GB, free: 40.83 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/10.9, allocations: 1.053 MB / 3.79 GB, free: 40.69 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003152/10.9, allocations: 52.67 kB / 3.79 GB, free: 40.66 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006344/10.9, allocations: 0.7082 MB / 3.79 GB, free: 40.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000528/10.9, allocations: 461.6 kB / 3.791 GB, free: 40.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/10.9, allocations: 31.47 kB / 3.791 GB, free: 40.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/10.9, allocations: 367.3 kB / 3.791 GB, free: 40.06 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/10.9, allocations: 0.7694 MB / 3.792 GB, free: 40.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001478/10.91, allocations: 1.146 MB / 3.793 GB, free: 39.66 MB / 474.7 MB 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 = 1000000.0 (boundary.p = 1000000.0) 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 = 1000000.0 (boundary.p = 1000000.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.02126/10.93, allocations: 5.853 MB / 3.799 GB, free: 39.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/10.93, allocations: 6.688 kB / 3.799 GB, free: 39.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004002/10.93, allocations: 2.446 MB / 3.801 GB, free: 39.27 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007782/10.93, allocations: 4.037 MB / 3.805 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/10.93, allocations: 10.66 kB / 3.805 GB, free: 35.11 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/10.93, allocations: 0.4992 MB / 3.806 GB, free: 35.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/10.94, allocations: 377.8 kB / 3.806 GB, free: 35.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/10.94, allocations: 2.907 MB / 3.809 GB, free: 33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/10.94, allocations: 205.8 kB / 3.809 GB, free: 32.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/10.94, allocations: 75.02 kB / 3.809 GB, free: 32.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/10.94, allocations: 4.297 kB / 3.809 GB, free: 32.99 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003444/10.94, allocations: 2.249 MB / 3.811 GB, free: 32.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/10.94, allocations: 10.94 kB / 3.811 GB, free: 32.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/10.94, allocations: 0.5065 MB / 3.812 GB, free: 32.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/10.95, allocations: 373.8 kB / 3.812 GB, free: 32.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/10.95, allocations: 2.9 MB / 3.815 GB, free: 30.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/10.95, allocations: 206.3 kB / 3.815 GB, free: 30.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/10.95, allocations: 71.08 kB / 3.815 GB, free: 30.8 MB / 474.7 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: annulus_pipe.mediums[1].p = 1000000.0 circular_pipe.mediums[1].p = 1000000.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 11 (boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004311/10.95, allocations: 214.6 kB / 3.815 GB, free: 30.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/10.95, allocations: 144.9 kB / 3.816 GB, free: 30.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006969/10.96, allocations: 5.468 MB / 3.821 GB, free: 30.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.439e-05/10.96, allocations: 59.8 kB / 3.821 GB, free: 30.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/10.96, allocations: 1.359 kB / 3.821 GB, free: 30.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005131/10.96, allocations: 4.984 MB / 3.826 GB, free: 29.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/10.97, allocations: 8.509 MB / 3.834 GB, free: 28.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/10.97, allocations: 3.359 kB / 3.834 GB, free: 28.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/10.98, allocations: 291.3 kB / 3.834 GB, free: 28.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/10.98, allocations: 0.5459 MB / 3.835 GB, free: 28.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/10.98, allocations: 41.31 kB / 3.835 GB, free: 28.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001845/10.98, allocations: 2.913 MB / 3.838 GB, free: 26.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/10.98, allocations: 1.312 kB / 3.838 GB, free: 26.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00826/10.99, allocations: 5.206 MB / 3.843 GB, free: 25.71 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/10.99, allocations: 0.5305 MB / 3.843 GB, free: 25.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/10.99, allocations: 39.02 kB / 3.843 GB, free: 25.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001269/10.99, allocations: 170.7 kB / 3.844 GB, free: 25.49 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/10.99, allocations: 133.7 kB / 3.844 GB, free: 25.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/10.99, allocations: 51.75 kB / 3.844 GB, free: 25.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001717/10.99, allocations: 0.8914 MB / 3.845 GB, free: 25.37 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/10.99, allocations: 1.594 kB / 3.845 GB, free: 25.37 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01031/11, allocations: 2.204 MB / 3.847 GB, free: 25.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 6 (circular_pipe.mediums[1].h,circular_pipe.mediums[2].p,circular_pipe.mediums[2].h,annulus_pipe.mediums[1].h,annulus_pipe.mediums[2].p,annulus_pipe.mediums[2].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,boundary.medium.phase,massflowsink1.medium.phase,massflowsink2.medium.phase,circular_pipe.statesFM[1].phase,circular_pipe.statesFM[2].phase,annulus_pipe.statesFM[1].phase,annulus_pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 8,1 1,2 8,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01116/11.01, allocations: 2.263 MB / 3.849 GB, free: 25.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007171/11.02, allocations: 3.57 MB / 3.853 GB, free: 25.03 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/11.02, allocations: 0 / 3.853 GB, free: 25.03 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002771/11.02, allocations: 1.733 MB / 3.854 GB, free: 25.02 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/11.03, allocations: 0.7455 MB / 3.855 GB, free: 25.01 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006974/11.04, allocations: 4.454 MB / 3.859 GB, free: 24.17 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/11.04, allocations: 1.804 MB / 3.861 GB, free: 23.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004696/11.04, allocations: 2.099 MB / 3.863 GB, free: 23.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/11.04, allocations: 119.6 kB / 3.863 GB, free: 23.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.804e-06/11.04, allocations: 0 / 3.863 GB, free: 23.4 MB / 474.7 MB Notification: Performance of Templates: time 0.1075/11.15, allocations: 72.31 MB / 3.934 GB, free: 12.64 MB / 474.7 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.sim & ./Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/NonCircularPipes/NonCircularPipes.csv","../files/Modelica_trunk_Modelica.Fluid.Examples.NonCircularPipes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches