Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000936/0.0009362, allocations: 187.8 kB / 7.805 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.032/1.032, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0008688/0.0008688, allocations: 93.64 kB / 261.4 MB, free: 13.53 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.1509/0.1509, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.799e-06/4.819e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 58.83 MB / 476.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.003/5.208, allocations: 3.62 GB / 4.085 GB, free: 65.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/5.208, allocations: 83.95 kB / 4.085 GB, free: 65.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.204/10.41, allocations: 1.635 GB / 5.72 GB, free: 27.21 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0002391/10.41, allocations: 87.3 kB / 5.72 GB, free: 27.2 MB / 0.5886 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.0283/10.44, allocations: 8.807 MB / 5.729 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/10.44, allocations: 9.281 kB / 5.729 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/10.44, allocations: 396.8 kB / 5.729 GB, free: 22.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005129/10.45, allocations: 2.122 MB / 5.731 GB, free: 21.99 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/10.45, allocations: 409.3 kB / 5.732 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005941/10.45, allocations: 169.9 kB / 5.732 GB, free: 21.69 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007194/10.46, allocations: 4.506 MB / 5.736 GB, free: 21.68 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006202/10.46, allocations: 4.523 MB / 5.741 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.535e-05/10.46, allocations: 12.84 kB / 5.741 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003565/10.46, allocations: 9.219 kB / 5.741 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002024/10.46, allocations: 278.1 kB / 5.741 GB, free: 20.94 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02508/10.49, allocations: 20.33 MB / 5.761 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/10.49, allocations: 1.807 MB / 5.762 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/10.49, allocations: 1.542 MB / 5.764 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002063/10.49, allocations: 3.343 MB / 5.767 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/10.49, allocations: 69.89 kB / 5.767 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=232): time 4.007e-06/10.49, allocations: 0 / 5.767 GB, free: 7.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=268): time 0.04966/10.54, allocations: 13.72 MB / 5.781 GB, free: 6.242 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/10.54, allocations: 234.5 kB / 5.781 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/10.55, allocations: 1.718 MB / 5.783 GB, free: 5.727 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0006012/10.55, allocations: 32.98 kB / 5.783 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005111/10.55, allocations: 1.214 MB / 5.784 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007836/10.55, allocations: 0.9104 MB / 5.785 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/10.55, allocations: 3.562 kB / 5.785 GB, free: 4.34 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001529/10.55, allocations: 469.5 kB / 5.785 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/10.55, allocations: 1.828 MB / 5.787 GB, free: 4.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/10.55, allocations: 3.001 MB / 5.79 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02394/10.58, allocations: 5.877 MB / 5.796 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.145e-05/10.58, allocations: 11.38 kB / 5.796 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.03157/10.61, allocations: 8.932 MB / 5.804 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.004639/10.61, allocations: 14.76 MB / 5.819 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-05/10.61, allocations: 36.84 kB / 5.819 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003214/10.62, allocations: 0.7272 MB / 5.82 GB, free: 1.031 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004893/10.62, allocations: 0.9215 MB / 5.82 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/10.63, allocations: 2.603 MB / 5.823 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004715/10.63, allocations: 308.6 kB / 5.823 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007329/10.63, allocations: 280.7 kB / 5.824 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/10.63, allocations: 3.188 kB / 5.824 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02915/10.66, allocations: 8.361 MB / 5.832 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-05/10.66, allocations: 40 kB / 5.832 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/10.66, allocations: 0.7439 MB / 5.832 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003525/10.67, allocations: 0.9122 MB / 5.833 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/10.67, allocations: 2.6 MB / 5.836 GB, free: 5.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/10.67, allocations: 297.8 kB / 5.836 GB, free: 4.855 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004945/10.67, allocations: 277 kB / 5.836 GB, free: 4.613 MB / 0.6198 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.001063/10.67, allocations: 239 kB / 5.837 GB, free: 4.371 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005704/10.68, allocations: 268.8 kB / 5.837 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01937/10.69, allocations: 7.172 MB / 5.844 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.329e-05/10.69, allocations: 28 kB / 5.844 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/10.69, allocations: 7.188 kB / 5.844 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.801e-05/10.69, allocations: 14.34 kB / 5.844 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/10.71, allocations: 8.761 MB / 5.853 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/10.71, allocations: 0 / 5.853 GB, free: 8.703 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002446/10.72, allocations: 0.5432 MB / 5.853 GB, free: 8.242 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003827/10.72, allocations: 0.9245 MB / 5.854 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004331/10.72, allocations: 85.92 kB / 5.854 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/10.72, allocations: 2.491 MB / 5.856 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/10.72, allocations: 3.906 kB / 5.856 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2807/11, allocations: 7.891 MB / 5.864 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/11.01, allocations: 0.8489 MB / 5.865 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005639/11.01, allocations: 22.45 kB / 5.865 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002504/11.01, allocations: 233.1 kB / 5.865 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003351/11.01, allocations: 193.2 kB / 5.865 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003327/11.01, allocations: 177.3 kB / 5.866 GB, free: 105.3 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001502/11.01, allocations: 1.295 MB / 5.867 GB, free: 105.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01266/11.02, allocations: 4.024 MB / 5.871 GB, free: 105.2 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.0121/11.04, allocations: 5.58 MB / 5.876 GB, free: 104.7 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01065/11.05, allocations: 7.49 MB / 5.884 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/11.05, allocations: 5.438 kB / 5.884 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.003087/11.05, allocations: 2.12 MB / 5.886 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004841/11.05, allocations: 1.014 MB / 5.887 GB, free: 104.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/11.07, allocations: 6.43 MB / 5.893 GB, free: 103.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003238/11.07, allocations: 2.809 MB / 5.896 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of SimCode: time 6.92e-07/11.07, allocations: 2.25 kB / 5.896 GB, free: 102.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.1747/11.25, allocations: 138.6 MB / 6.031 GB, free: 91.32 MB / 0.6355 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Fittings/TestMultiPortTraceSubstances/TestMultiPortTraceSubstances.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches