Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008431/0.0008431, allocations: 104.5 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1944/0.1944, allocations: 45.15 MB / 383.8 MB, free: 224 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.684e-05/1.686e-05, allocations: 7.75 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.106/7.212, allocations: 3.449 GB / 3.953 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001725/7.212, allocations: 85.11 kB / 3.953 GB, free: 41.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.785/13, allocations: 1.547 GB / 5.501 GB, free: 31.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.332e-06/13, allocations: 4 kB / 5.501 GB, free: 31.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001824/13, allocations: 82.44 kB / 5.501 GB, free: 31.93 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.03162/13.03, allocations: 8.459 MB / 5.509 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/13.03, allocations: 10.91 kB / 5.509 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/13.03, allocations: 401.2 kB / 5.509 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004131/13.04, allocations: 2.098 MB / 5.511 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/13.04, allocations: 409.7 kB / 5.512 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/13.04, allocations: 167.3 kB / 5.512 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005708/13.04, allocations: 4.348 MB / 5.516 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005334/13.05, allocations: 4.383 MB / 5.52 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.326e-05/13.05, allocations: 11.94 kB / 5.52 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003337/13.05, allocations: 8 kB / 5.52 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002247/13.05, allocations: 259.1 kB / 5.521 GB, free: 19.67 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/13.07, allocations: 20.33 MB / 5.541 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003737/13.07, allocations: 2.472 MB / 5.543 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/13.08, allocations: 1.487 MB / 5.544 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002871/13.08, allocations: 3.308 MB / 5.548 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/13.08, allocations: 64.8 kB / 5.548 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=232): time 5.811e-06/13.08, allocations: 7.938 kB / 5.548 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=268): time 0.4654/13.54, allocations: 13.19 MB / 5.561 GB, free: 47.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/13.54, allocations: 238.9 kB / 5.561 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/13.55, allocations: 1.702 MB / 5.562 GB, free: 47.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002693/13.55, allocations: 33.67 kB / 5.563 GB, free: 47.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/13.55, allocations: 1.461 MB / 5.564 GB, free: 46.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006705/13.55, allocations: 0.9183 MB / 5.565 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/13.55, allocations: 2.406 kB / 5.565 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001457/13.55, allocations: 466.8 kB / 5.565 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002121/13.55, allocations: 1.76 MB / 5.567 GB, free: 45.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/13.55, allocations: 2.936 MB / 5.57 GB, free: 44.61 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01264/13.57, allocations: 3.927 MB / 5.574 GB, free: 44.56 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.889e-05/13.57, allocations: 11.59 kB / 5.574 GB, free: 44.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.02023/13.59, allocations: 6.912 MB / 5.58 GB, free: 44.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.002455/13.59, allocations: 14.89 MB / 5.595 GB, free: 28.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-05/13.59, allocations: 36.34 kB / 5.595 GB, free: 28.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002616/13.59, allocations: 0.7231 MB / 5.596 GB, free: 28.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003536/13.59, allocations: 0.892 MB / 5.597 GB, free: 28.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/13.6, allocations: 2.534 MB / 5.599 GB, free: 26.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003978/13.6, allocations: 307.3 kB / 5.599 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004691/13.6, allocations: 244.8 kB / 5.6 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/13.6, allocations: 2.656 kB / 5.6 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01666/13.62, allocations: 6.365 MB / 5.606 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-05/13.62, allocations: 38.41 kB / 5.606 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/13.62, allocations: 0.7234 MB / 5.607 GB, free: 26.72 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00418/13.63, allocations: 0.8884 MB / 5.607 GB, free: 26.72 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002543/13.63, allocations: 2.524 MB / 5.61 GB, free: 25.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003971/13.63, allocations: 297.7 kB / 5.61 GB, free: 25.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/13.63, allocations: 241.8 kB / 5.61 GB, free: 25.15 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 166 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 474 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001052/13.63, allocations: 236 kB / 5.611 GB, free: 25.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000561/13.63, allocations: 274.1 kB / 5.611 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/13.65, allocations: 6.198 MB / 5.617 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.619e-05/13.65, allocations: 39.33 kB / 5.617 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/13.65, allocations: 0 / 5.617 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-05/13.65, allocations: 21.31 kB / 5.617 GB, free: 24.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/13.66, allocations: 8.288 MB / 5.625 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/13.66, allocations: 6.625 kB / 5.625 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/13.66, allocations: 0.5255 MB / 5.626 GB, free: 24.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003453/13.67, allocations: 0.8988 MB / 5.627 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003733/13.67, allocations: 80.48 kB / 5.627 GB, free: 24.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/13.67, allocations: 2.416 MB / 5.629 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/13.67, allocations: 2.75 kB / 5.629 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/13.68, allocations: 6.869 MB / 5.636 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002052/13.69, allocations: 0.8395 MB / 5.636 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005934/13.69, allocations: 21.34 kB / 5.637 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/13.69, allocations: 231.6 kB / 5.637 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003474/13.69, allocations: 201 kB / 5.637 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003679/13.69, allocations: 147.8 kB / 5.637 GB, free: 21.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002108/13.69, allocations: 1.27 MB / 5.638 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.62e-07/13.69, allocations: 0 / 5.638 GB, free: 21.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01365/13.71, allocations: 3.688 MB / 5.642 GB, free: 21.49 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T,volume1.mC_scaled[1],volume2.medium.p,volume2.medium.Xi[1],volume2.medium.T,volume2.mC_scaled[1],volume3.medium.p,volume3.medium.Xi[1],volume3.medium.T,volume3.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 273 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01067/13.72, allocations: 4.88 MB / 5.647 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01098/13.73, allocations: 7.447 MB / 5.654 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/13.73, allocations: 4.875 kB / 5.654 GB, free: 20.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.00307/13.73, allocations: 2.04 MB / 5.656 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005132/13.74, allocations: 1.071 MB / 5.657 GB, free: 20.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/13.75, allocations: 6.112 MB / 5.663 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001641/13.75, allocations: 2.286 MB / 5.665 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.006983/13.76, allocations: 2.559 MB / 5.668 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009036/13.76, allocations: 299.7 kB / 5.668 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of SimCode: time 8.31e-07/13.76, allocations: 0 / 5.668 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of Templates: time 0.1414/13.9, allocations: 108.5 MB / 5.774 GB, free: 10.18 MB / 0.6511 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPortTraceSubstances/TestMultiPortTraceSubstances.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches