Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.volume.medium.h|pipe.volume.medium.p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000899/0.0008992, allocations: 180.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 223.6 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007788/0.0007788, allocations: 90.34 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3221/0.3221, allocations: 43.55 MB / 363.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.000352, allocations: 19.98 kB / 432.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1155, allocations: 58.86 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.812/4.927, allocations: 2.822 GB / 3.302 GB, free: 47.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/4.928, allocations: 79.95 kB / 3.302 GB, free: 46.95 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.34/7.267, allocations: 0.6956 GB / 3.998 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.575e-06/7.267, allocations: 3.5 kB / 3.998 GB, free: 42.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001376/7.267, allocations: 34.28 kB / 3.998 GB, free: 42.2 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01217/7.279, allocations: 2.892 MB / 4.001 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/7.28, allocations: 10.47 kB / 4.001 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/7.283, allocations: 481.5 kB / 4.001 GB, free: 40.89 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02453/7.308, allocations: 15.35 MB / 4.016 GB, free: 40.46 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/7.308, allocations: 143.9 kB / 4.016 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001794/7.308, allocations: 100.6 kB / 4.016 GB, free: 40.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00364/7.312, allocations: 1.898 MB / 4.018 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/7.312, allocations: 4.562 kB / 4.018 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/7.312, allocations: 42.2 kB / 4.018 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.213e-05/7.312, allocations: 79.56 kB / 4.018 GB, free: 40.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00349/7.316, allocations: 1.776 MB / 4.02 GB, free: 40.04 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.009772/7.325, allocations: 8.532 MB / 4.029 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002941/7.328, allocations: 1.403 MB / 4.03 GB, free: 34.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008683/7.329, allocations: 0.5232 MB / 4.03 GB, free: 34.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1048/7.434, allocations: 63.27 MB / 4.092 GB, free: 27.11 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002269/7.436, allocations: 0.8915 MB / 4.093 GB, free: 26.97 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 4.288e-06/7.436, allocations: 0 / 4.093 GB, free: 26.97 MB / 0.5573 GB Notification: Performance of matching and sorting (n=86): time 0.01086/7.447, allocations: 4.655 MB / 4.098 GB, free: 25.73 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/7.447, allocations: 400.3 kB / 4.098 GB, free: 25.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/7.449, allocations: 1.044 MB / 4.099 GB, free: 25.09 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.032e-05/7.449, allocations: 43.2 kB / 4.099 GB, free: 25.06 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/7.449, allocations: 0.5778 MB / 4.1 GB, free: 24.79 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/7.449, allocations: 296.1 kB / 4.1 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-05/7.45, allocations: 24.22 kB / 4.1 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001509/7.45, allocations: 358.4 kB / 4.1 GB, free: 24.3 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009636/7.451, allocations: 0.5338 MB / 4.101 GB, free: 24.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/7.452, allocations: 1.014 MB / 4.102 GB, free: 23.72 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/7.454, allocations: 1.55 MB / 4.103 GB, free: 23.17 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/7.454, allocations: 5.25 kB / 4.103 GB, free: 23.17 MB / 0.5573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.003251/7.457, allocations: 1.938 MB / 4.105 GB, free: 23.02 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002559/7.458, allocations: 0.4944 MB / 4.106 GB, free: 22.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/7.458, allocations: 18.41 kB / 4.106 GB, free: 22.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005581/7.463, allocations: 1.133 MB / 4.107 GB, free: 22.38 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/7.464, allocations: 243.3 kB / 4.107 GB, free: 22.38 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002118/7.466, allocations: 1.501 MB / 4.108 GB, free: 21.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/7.468, allocations: 127.7 kB / 4.109 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/7.468, allocations: 68.92 kB / 4.109 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/7.468, allocations: 3.312 kB / 4.109 GB, free: 21.82 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002978/7.471, allocations: 1.676 MB / 4.11 GB, free: 21.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/7.471, allocations: 24.06 kB / 4.11 GB, free: 21.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/7.472, allocations: 379.5 kB / 4.111 GB, free: 21.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/7.473, allocations: 281.8 kB / 4.111 GB, free: 21.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/7.475, allocations: 1.056 MB / 4.112 GB, free: 21.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/7.476, allocations: 132.7 kB / 4.112 GB, free: 21.19 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/7.476, allocations: 73.67 kB / 4.112 GB, free: 21.19 MB / 0.5573 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 35} Notification: Performance of prepare postOptimizeDAE: time 0.0008266/7.477, allocations: 463 kB / 4.113 GB, free: 21 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/7.477, allocations: 123.8 kB / 4.113 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004461/7.482, allocations: 4.059 MB / 4.117 GB, free: 20.48 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.105e-05/7.482, allocations: 45.64 kB / 4.117 GB, free: 20.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/7.482, allocations: 7.688 kB / 4.117 GB, free: 20.48 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/7.482, allocations: 7.312 kB / 4.117 GB, free: 20.48 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/7.487, allocations: 5.533 MB / 4.122 GB, free: 19.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/7.488, allocations: 2.5 kB / 4.122 GB, free: 19.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006186/7.488, allocations: 179.3 kB / 4.122 GB, free: 19.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005475/7.494, allocations: 1.558 MB / 4.124 GB, free: 19.75 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-05/7.494, allocations: 32.64 kB / 4.124 GB, free: 19.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/7.495, allocations: 2.084 MB / 4.126 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/7.495, allocations: 11.58 kB / 4.126 GB, free: 18.34 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/7.5, allocations: 3.887 MB / 4.13 GB, free: 16.43 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009042/7.501, allocations: 0.5246 MB / 4.13 GB, free: 16.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/7.501, allocations: 18.28 kB / 4.13 GB, free: 16.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000842/7.502, allocations: 106.1 kB / 4.13 GB, free: 16.02 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/7.502, allocations: 74.89 kB / 4.13 GB, free: 16.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/7.502, allocations: 35.94 kB / 4.13 GB, free: 16.01 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001354/7.503, allocations: 1.052 MB / 4.131 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/7.503, allocations: 1.969 kB / 4.131 GB, free: 15.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007563/7.511, allocations: 2.004 MB / 4.133 GB, free: 15.15 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.009281/7.52, allocations: 2.277 MB / 4.136 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004597/7.525, allocations: 2.462 MB / 4.138 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/7.525, allocations: 3.906 kB / 4.138 GB, free: 11.67 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001315/7.526, allocations: 1.059 MB / 4.139 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/7.529, allocations: 0.6423 MB / 4.14 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/7.534, allocations: 4.489 MB / 4.144 GB, free: 6.109 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008226/7.535, allocations: 1.432 MB / 4.146 GB, free: 4.887 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003607/7.535, allocations: 115.2 kB / 4.146 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/7.535, allocations: 0 / 4.146 GB, free: 4.781 MB / 0.5573 GB Notification: Performance of Templates: time 0.3703/7.906, allocations: 56.47 MB / 4.201 GB, free: 66.36 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestPipesAndValves/LumpedPipeInitialization/LumpedPipeInitialization.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches