Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe4.mediums.1..T|pipe4.mediums.2..T|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe7.mediums.1..T|pipe7.mediums.2..T|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork") translateModel(Modelica.Fluid.Examples.IncompressibleFluidNetwork,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..T|pipe1.mediums.2..T|pipe10.mediums.1..T|pipe10.mediums.2..T|pipe11.mediums.1..T|pipe11.mediums.2..T|pipe2.mediums.1..T|pipe2.mediums.2..T|pipe3.mediums.1..T|pipe3.mediums.2..T|pipe4.mediums.1..T|pipe4.mediums.2..T|pipe5.mediums.1..T|pipe5.mediums.2..T|pipe6.mediums.1..T|pipe6.mediums.2..T|pipe7.mediums.1..T|pipe7.mediums.2..T|pipe8.mediums.1..T|pipe8.mediums.2..T|pipe9.mediums.1..T|pipe9.mediums.2..T",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 181.9 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008764/0.0008763, allocations: 96.05 kB / 291.5 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002797/0.0002797, allocations: 11.94 kB / 351.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2151, allocations: 50.4 MB / 401.5 MB, free: 32.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4768/0.692, allocations: 276.4 MB / 0.662 GB, free: 15.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.6922, allocations: 85.95 kB / 0.662 GB, free: 15.05 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.85/7.542, allocations: 1.523 GB / 2.185 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.648e-06/7.542, allocations: 3.938 kB / 2.185 GB, free: 27.91 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.001836/7.544, allocations: 187.7 kB / 2.185 GB, free: 27.88 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1492 * Number of variables: 1492 Notification: Performance of Generate backend data structure: time 0.05009/7.594, allocations: 9.032 MB / 2.194 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.336e-05/7.594, allocations: 9.562 kB / 2.194 GB, free: 24.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01541/7.61, allocations: 1.288 MB / 2.195 GB, free: 24.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02841/7.638, allocations: 6.324 MB / 2.201 GB, free: 23.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001012/7.639, allocations: 431.1 kB / 2.202 GB, free: 23.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004352/7.644, allocations: 0.5312 MB / 2.202 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04123/7.685, allocations: 9.462 MB / 2.212 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006826/7.686, allocations: 17.22 kB / 2.212 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005313/7.691, allocations: 247 kB / 2.212 GB, free: 21.61 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001278/7.692, allocations: 0.5919 MB / 2.212 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03108/7.723, allocations: 8.129 MB / 2.22 GB, free: 21.55 MB / 0.5261 GB 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.0992/7.823, allocations: 34.98 MB / 2.254 GB, free: 6.371 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01773/7.841, allocations: 6.155 MB / 2.26 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007949/7.849, allocations: 5.167 MB / 2.266 GB, free: 16.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/7.849, allocations: 96.55 kB / 2.266 GB, free: 16.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01187/7.861, allocations: 1.676 MB / 2.267 GB, free: 16.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=500): time 6.763e-05/7.861, allocations: 0.75 kB / 2.267 GB, free: 16.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=632): time 0.2048/8.066, allocations: 50.78 MB / 2.317 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002194/8.066, allocations: 168.3 kB / 2.317 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01395/8.08, allocations: 4.252 MB / 2.321 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003544/8.084, allocations: 143.3 kB / 2.321 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.004624/8.088, allocations: 2.964 MB / 2.324 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005713/8.094, allocations: 2.161 MB / 2.326 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003201/8.097, allocations: 145.1 kB / 2.326 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001217/8.098, allocations: 0.5842 MB / 2.327 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01013/8.109, allocations: 3.923 MB / 2.331 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01203/8.121, allocations: 5.546 MB / 2.336 GB, free: 2.961 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/8.132, allocations: 4.851 MB / 2.341 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/8.133, allocations: 11.66 kB / 2.341 GB, free: 1.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=911) (initialization): time 0.04283/8.175, allocations: 12.57 MB / 2.353 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.008494/8.184, allocations: 20.35 MB / 2.373 GB, free: 6.414 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001976/8.184, allocations: 40 kB / 2.373 GB, free: 6.375 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03429/8.219, allocations: 5.228 MB / 2.378 GB, free: 2.531 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007733/8.226, allocations: 1.348 MB / 2.38 GB, free: 1.418 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5972/8.824, allocations: 17.5 MB / 2.397 GB, free: 53.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01203/8.836, allocations: 0.503 MB / 2.397 GB, free: 53.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003593/8.839, allocations: 411.3 kB / 2.398 GB, free: 53.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/8.839, allocations: 7.562 kB / 2.398 GB, free: 53.88 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03423/8.874, allocations: 11.95 MB / 2.409 GB, free: 53.47 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002994/8.874, allocations: 45.3 kB / 2.409 GB, free: 53.47 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01189/8.886, allocations: 3.279 MB / 2.412 GB, free: 53.29 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009045/8.895, allocations: 1.377 MB / 2.414 GB, free: 53.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02495/8.92, allocations: 22.18 MB / 2.435 GB, free: 40.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/8.932, allocations: 0.4902 MB / 2.436 GB, free: 40.56 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00348/8.935, allocations: 405.6 kB / 2.436 GB, free: 40.56 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (751): * Single equations (assignments): 728 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,9 42} Notification: Performance of prepare postOptimizeDAE: time 0.0118/8.947, allocations: 1.919 MB / 2.438 GB, free: 40.37 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005819/8.953, allocations: 0.6473 MB / 2.439 GB, free: 40.37 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05209/9.005, allocations: 18.48 MB / 2.457 GB, free: 39.85 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001016/9.005, allocations: 65.03 kB / 2.457 GB, free: 39.85 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.044e-05/9.005, allocations: 3.969 kB / 2.457 GB, free: 39.85 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02555/9.031, allocations: 9.659 MB / 2.466 GB, free: 39.22 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07295/9.104, allocations: 24.69 MB / 2.491 GB, free: 36.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001221/9.104, allocations: 16.09 kB / 2.491 GB, free: 36.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005125/9.109, allocations: 0.869 MB / 2.491 GB, free: 36.82 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02807/9.137, allocations: 5.475 MB / 2.497 GB, free: 36.64 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002917/9.14, allocations: 229.1 kB / 2.497 GB, free: 36.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01545/9.156, allocations: 17.4 MB / 2.514 GB, free: 24.74 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.799e-05/9.156, allocations: 23.81 kB / 2.514 GB, free: 24.74 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04677/9.203, allocations: 19.2 MB / 2.533 GB, free: 14.97 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01065/9.213, allocations: 1.648 MB / 2.534 GB, free: 14.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00704/9.22, allocations: 166.8 kB / 2.534 GB, free: 14.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01035/9.231, allocations: 330.4 kB / 2.535 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003031/9.234, allocations: 465.2 kB / 2.535 GB, free: 13.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002814/9.237, allocations: 327.1 kB / 2.536 GB, free: 13.85 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01051/9.247, allocations: 3.192 MB / 2.539 GB, free: 12.79 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.388e-06/9.247, allocations: 3.094 kB / 2.539 GB, free: 12.79 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03651/9.284, allocations: 5.108 MB / 2.544 GB, free: 12.36 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 22 (pipe1.mediums[1].T,pipe1.mediums[2].T,pipe2.mediums[1].T,pipe2.mediums[2].T,pipe3.mediums[1].T,pipe3.mediums[2].T,pipe4.mediums[1].T,pipe4.mediums[2].T,pipe6.mediums[1].T,pipe6.mediums[2].T,pipe7.mediums[1].T,pipe7.mediums[2].T,pipe8.mediums[1].T,pipe8.mediums[2].T,pipe9.mediums[1].T,pipe9.mediums[2].T,pipe10.mediums[1].T,pipe10.mediums[2].T,pipe5.mediums[1].T,pipe5.mediums[2].T,pipe11.mediums[1].T,pipe11.mediums[2].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (500): * Single equations (assignments): 477 * 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: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 23 {1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,1 5,10 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01652/9.3, allocations: 2.678 MB / 2.546 GB, free: 12.09 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04222/9.343, allocations: 15.61 MB / 2.562 GB, free: 7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.902e-05/9.343, allocations: 8.656 kB / 2.562 GB, free: 7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01337/9.356, allocations: 4.87 MB / 2.566 GB, free: 5.43 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02149/9.378, allocations: 2.632 MB / 2.569 GB, free: 4.891 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05254/9.43, allocations: 19.1 MB / 2.587 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01333/9.444, allocations: 4.51 MB / 2.592 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.5425/9.986, allocations: 9.113 MB / 2.601 GB, free: 72.86 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004028/9.99, allocations: 0.5982 MB / 2.601 GB, free: 72.86 MB / 0.5886 GB Notification: Performance of SimCode: time 2.083e-06/9.991, allocations: 0 / 2.601 GB, free: 72.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.2933/10.28, allocations: 173.8 MB / 2.771 GB, free: 30.09 MB / 0.5886 GB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/IncompressibleFluidNetwork/IncompressibleFluidNetwork.csv","../files/Modelica_4.0.0_Modelica.Fluid.Examples.IncompressibleFluidNetwork.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches