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") [: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 trunk/package.mo): time 0.001379/0.001379, allocations: 200.1 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 225.5 MB / 234.4 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009197/0.0009197, allocations: 92.52 kB / 286.3 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2031/0.2031, allocations: 45.14 MB / 383.3 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.872e-06/5.901e-06, allocations: 0 / 452.6 MB, free: 76.16 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 63.24 MB / 0.5038 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.713/6.83, allocations: 3.449 GB / 3.953 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/6.83, allocations: 91.94 kB / 3.953 GB, free: 125 MB / 0.5261 GB Notification: Performance of FrontEnd: time 5.753/12.58, allocations: 1.563 GB / 5.516 GB, free: 29.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002206/12.58, allocations: 87.22 kB / 5.516 GB, free: 29.19 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.03349/12.62, allocations: 8.499 MB / 5.524 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/12.62, allocations: 9.156 kB / 5.524 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003438/12.62, allocations: 404 kB / 5.524 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006816/12.63, allocations: 2.117 MB / 5.526 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/12.63, allocations: 412 kB / 5.527 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001172/12.63, allocations: 169.4 kB / 5.527 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008034/12.64, allocations: 4.469 MB / 5.531 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00713/12.64, allocations: 4.485 MB / 5.536 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.352e-05/12.64, allocations: 19.5 kB / 5.536 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003936/12.64, allocations: 8.531 kB / 5.536 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002178/12.64, allocations: 275.3 kB / 5.536 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/12.68, allocations: 20.46 MB / 5.556 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003023/12.68, allocations: 1.8 MB / 5.558 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/12.68, allocations: 1.526 MB / 5.559 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002206/12.68, allocations: 3.317 MB / 5.563 GB, free: 8.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/12.68, allocations: 71.11 kB / 5.563 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=232): time 4.128e-06/12.68, allocations: 0 / 5.563 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268): time 0.05354/12.74, allocations: 13.2 MB / 5.576 GB, free: 7.703 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.673e-05/12.74, allocations: 233.6 kB / 5.576 GB, free: 7.449 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003174/12.74, allocations: 1.719 MB / 5.577 GB, free: 7.184 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001089/12.74, allocations: 34.7 kB / 5.577 GB, free: 7.152 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/12.74, allocations: 1.208 MB / 5.579 GB, free: 6.395 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001321/12.74, allocations: 0.914 MB / 5.58 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002725/12.74, allocations: 1.781 kB / 5.58 GB, free: 5.801 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002206/12.74, allocations: 472.2 kB / 5.58 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003103/12.75, allocations: 1.818 MB / 5.582 GB, free: 5.477 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00364/12.75, allocations: 2.994 MB / 5.585 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/12.76, allocations: 4.013 MB / 5.589 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.497e-05/12.76, allocations: 9.844 kB / 5.589 GB, free: 2.508 MB / 0.6198 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.02495/12.79, allocations: 7.035 MB / 5.595 GB, free: 492 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.006728/12.8, allocations: 14.75 MB / 5.61 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001651/12.8, allocations: 41.41 kB / 5.61 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/12.8, allocations: 0.7287 MB / 5.611 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005875/12.81, allocations: 0.9839 MB / 5.612 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003233/12.81, allocations: 2.609 MB / 5.614 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006257/12.82, allocations: 302.7 kB / 5.614 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001308/12.82, allocations: 243.2 kB / 5.615 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/12.82, allocations: 5.75 kB / 5.615 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02005/12.84, allocations: 6.465 MB / 5.621 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001159/12.84, allocations: 40 kB / 5.621 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003074/12.84, allocations: 0.7323 MB / 5.622 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/12.85, allocations: 0.8905 MB / 5.623 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/12.85, allocations: 2.596 MB / 5.625 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005193/12.85, allocations: 307.6 kB / 5.625 GB, free: 3.359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/12.85, allocations: 233.6 kB / 5.626 GB, free: 3.156 MB / 0.6511 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.001252/12.86, allocations: 243.1 kB / 5.626 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008513/12.86, allocations: 272.7 kB / 5.626 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3739/13.23, allocations: 7.177 MB / 5.633 GB, free: 91.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.634e-05/13.23, allocations: 36.77 kB / 5.633 GB, free: 91.32 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/13.23, allocations: 0 / 5.633 GB, free: 91.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-05/13.23, allocations: 16.22 kB / 5.633 GB, free: 91.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/13.25, allocations: 8.481 MB / 5.641 GB, free: 90.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-05/13.25, allocations: 6.406 kB / 5.641 GB, free: 90.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002682/13.25, allocations: 0.5335 MB / 5.642 GB, free: 90.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004079/13.26, allocations: 0.9233 MB / 5.643 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008701/13.26, allocations: 73.47 kB / 5.643 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002508/13.26, allocations: 2.494 MB / 5.645 GB, free: 89.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/13.26, allocations: 3.406 kB / 5.645 GB, free: 89.29 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01593/13.28, allocations: 7.132 MB / 5.652 GB, free: 88.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002911/13.28, allocations: 0.8363 MB / 5.653 GB, free: 88.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/13.28, allocations: 23.02 kB / 5.653 GB, free: 88.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003706/13.29, allocations: 234.5 kB / 5.653 GB, free: 88.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/13.29, allocations: 179 kB / 5.654 GB, free: 88.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004698/13.29, allocations: 152.8 kB / 5.654 GB, free: 88.76 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.002315/13.29, allocations: 1.287 MB / 5.655 GB, free: 88.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01626/13.31, allocations: 3.713 MB / 5.659 GB, free: 88.61 MB / 0.6511 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.01351/13.32, allocations: 4.968 MB / 5.663 GB, free: 88.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01326/13.33, allocations: 7.442 MB / 5.671 GB, free: 87.85 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/13.33, allocations: 6.562 kB / 5.671 GB, free: 87.85 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003478/13.34, allocations: 2.098 MB / 5.673 GB, free: 87.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005964/13.34, allocations: 1.019 MB / 5.674 GB, free: 87.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01759/13.36, allocations: 6.418 MB / 5.68 GB, free: 86.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003156/13.36, allocations: 2.689 MB / 5.683 GB, free: 86.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.172e-06/13.36, allocations: 0 / 5.683 GB, free: 86.02 MB / 0.6511 GB Notification: Performance of Templates: time 0.1879/13.55, allocations: 132.2 MB / 5.812 GB, free: 78.71 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