Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001743/0.001743, allocations: 194.4 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.5 MB / 244.1 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008545/0.0008543, allocations: 109.5 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4017/0.4017, allocations: 44.81 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003213, allocations: 15.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3902, allocations: 62.94 MB / 0.5165 GB, free: 37.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.124/8.514, allocations: 3.469 GB / 3.985 GB, free: 136.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/8.514, allocations: 87.95 kB / 3.986 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.063/13.58, allocations: 1.401 GB / 5.387 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.675e-06/13.58, allocations: 0 / 5.387 GB, free: 25.61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003627/13.58, allocations: 66.58 kB / 5.387 GB, free: 25.59 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.03619/13.61, allocations: 7.26 MB / 5.394 GB, free: 21.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/13.61, allocations: 9.438 kB / 5.394 GB, free: 21.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002462/13.62, allocations: 289.8 kB / 5.394 GB, free: 21.04 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005499/13.62, allocations: 1.608 MB / 5.396 GB, free: 20.15 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/13.62, allocations: 145.7 kB / 5.396 GB, free: 20.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/13.62, allocations: 185.5 kB / 5.396 GB, free: 20.03 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009736/13.63, allocations: 3.142 MB / 5.399 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001276/13.63, allocations: 0 / 5.399 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000965/13.63, allocations: 83.95 kB / 5.399 GB, free: 17.74 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002938/13.63, allocations: 187.7 kB / 5.4 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008296/13.64, allocations: 3.485 MB / 5.403 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02868/13.67, allocations: 12.34 MB / 5.415 GB, free: 3.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/13.68, allocations: 1.71 MB / 5.417 GB, free: 1.375 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/13.68, allocations: 1.133 MB / 5.418 GB, free: 248 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/13.68, allocations: 1.666 MB / 5.419 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/13.68, allocations: 55.88 kB / 5.419 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003225/13.68, allocations: 366.6 kB / 5.42 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=153): time 1.546e-05/13.68, allocations: 0 / 5.42 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=165): time 0.03715/13.72, allocations: 9.315 MB / 5.429 GB, free: 4.391 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/13.72, allocations: 201.2 kB / 5.429 GB, free: 4.152 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004795/13.73, allocations: 2.053 MB / 5.431 GB, free: 2.059 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0006993/13.73, allocations: 61.7 kB / 5.431 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/13.73, allocations: 0.9779 MB / 5.432 GB, free: 1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/13.73, allocations: 0.5776 MB / 5.433 GB, free: 424 kB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005581/13.73, allocations: 40 kB / 5.433 GB, free: 384 kB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003479/13.73, allocations: 398.2 kB / 5.433 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/13.73, allocations: 1.308 MB / 5.434 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/13.74, allocations: 1.667 MB / 5.436 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006136/13.74, allocations: 2.921 MB / 5.439 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/13.74, allocations: 4 kB / 5.439 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0101/13.75, allocations: 3.869 MB / 5.443 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003081/13.75, allocations: 382.6 kB / 5.443 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/13.75, allocations: 11.94 kB / 5.443 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007208/13.76, allocations: 1.292 MB / 5.444 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/13.76, allocations: 0.4914 MB / 5.445 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003521/13.77, allocations: 2.127 MB / 5.447 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004066/13.77, allocations: 195.8 kB / 5.447 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000896/13.77, allocations: 135.9 kB / 5.447 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/13.77, allocations: 4 kB / 5.447 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5116/14.28, allocations: 3.822 MB / 5.451 GB, free: 58.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.574e-05/14.28, allocations: 8.219 kB / 5.451 GB, free: 58.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004787/14.29, allocations: 0.9454 MB / 5.452 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/14.29, allocations: 0.4922 MB / 5.452 GB, free: 58.63 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002704/14.29, allocations: 1.917 MB / 5.454 GB, free: 57.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/14.3, allocations: 188.8 kB / 5.454 GB, free: 57.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004313/14.3, allocations: 129.7 kB / 5.454 GB, free: 57.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (250): * Single equations (assignments): 246 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * 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 {2 6,4 15} Notification: Performance of prepare postOptimizeDAE: time 0.001752/14.3, allocations: 0.6266 MB / 5.455 GB, free: 57.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005951/14.3, allocations: 236.7 kB / 5.455 GB, free: 57.41 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008433/14.31, allocations: 4.131 MB / 5.459 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/14.31, allocations: 21.19 kB / 5.459 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/14.31, allocations: 1.719 kB / 5.459 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-05/14.31, allocations: 5.812 kB / 5.459 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/14.32, allocations: 5.634 MB / 5.465 GB, free: 56.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/14.32, allocations: 5.312 kB / 5.465 GB, free: 56.69 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/14.32, allocations: 300.4 kB / 5.465 GB, free: 56.69 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005409/14.33, allocations: 1.147 MB / 5.466 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004431/14.33, allocations: 65.77 kB / 5.466 GB, free: 56.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/14.33, allocations: 2.057 MB / 5.468 GB, free: 55.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/14.33, allocations: 8.062 kB / 5.468 GB, free: 55.64 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008967/14.34, allocations: 4.309 MB / 5.473 GB, free: 55.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001481/14.34, allocations: 395.8 kB / 5.473 GB, free: 55.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004642/14.34, allocations: 47.08 kB / 5.473 GB, free: 55.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/14.34, allocations: 160.5 kB / 5.473 GB, free: 55.08 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/14.34, allocations: 132 kB / 5.473 GB, free: 55.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/14.34, allocations: 99.36 kB / 5.473 GB, free: 55.07 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002345/14.35, allocations: 1.531 MB / 5.475 GB, free: 54.93 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/14.35, allocations: 7.781 kB / 5.475 GB, free: 54.93 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01277/14.36, allocations: 3.109 MB / 5.478 GB, free: 54.93 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (junction1.medium.p,junction1.medium.Xi[1],junction1.medium.T,junction1.mC_scaled[1]) * 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 (150): * Single equations (assignments): 148 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 6,4 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.01258/14.37, allocations: 3.885 MB / 5.482 GB, free: 54.52 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01173/14.38, allocations: 4.906 MB / 5.487 GB, free: 54.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-05/14.38, allocations: 4.562 kB / 5.487 GB, free: 54.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002989/14.39, allocations: 1.294 MB / 5.488 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007824/14.39, allocations: 1.247 MB / 5.489 GB, free: 54.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009009/14.4, allocations: 5.369 MB / 5.494 GB, free: 52.16 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/14.4, allocations: 1.666 MB / 5.496 GB, free: 51.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/14.41, allocations: 269.3 kB / 5.496 GB, free: 51.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.252e-06/14.41, allocations: 2.969 kB / 5.496 GB, free: 51.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.1329/14.54, allocations: 89.09 MB / 5.583 GB, free: 45.64 MB / 0.6355 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionTraceSubstances/TestJunctionTraceSubstances.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches