Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000748/0.0007482, allocations: 97.48 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008618/0.0008619, allocations: 202.2 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.7 MB / 247.5 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2156/0.2156, allocations: 46.19 MB / 345.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002743, allocations: 8 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1313, allocations: 63.56 MB / 483.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.8956/1.027, allocations: 317.2 MB / 0.7822 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02626/1.053, allocations: 23.91 MB / 0.8056 GB, free: 300 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/1.056, allocations: 74.41 kB / 0.8056 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002711/1.059, allocations: 0.9511 MB / 0.8066 GB, free: 8 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01799/1.077, allocations: 6.345 MB / 0.8128 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01998/1.097, allocations: 7.234 MB / 0.8198 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009779/1.107, allocations: 9.106 MB / 0.8287 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003348/1.11, allocations: 1.707 MB / 0.8304 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008678/1.119, allocations: 3.561 MB / 0.8339 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005326/1.124, allocations: 2.857 MB / 0.8367 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009538/1.125, allocations: 144 kB / 0.8368 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03203/1.157, allocations: 17.27 MB / 0.8537 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00231/1.159, allocations: 1.081 MB / 0.8547 GB, free: 128 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003437/1.163, allocations: 1.368 MB / 0.856 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01749/1.18, allocations: 8.364 MB / 0.8642 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.18, allocations: 0 / 0.8642 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.374e-06/1.18, allocations: 7.938 kB / 0.8642 GB, free: 6.836 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001226/1.181, allocations: 0 / 0.8642 GB, free: 6.836 MB / 0.5762 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.01192/1.192, allocations: 4.184 MB / 0.8683 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.193, allocations: 13.47 kB / 0.8683 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/1.194, allocations: 285 kB / 0.8686 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/1.197, allocations: 1.444 MB / 0.87 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/1.197, allocations: 143.5 kB / 0.8701 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005581/1.197, allocations: 186.5 kB / 0.8703 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00592/1.203, allocations: 3.154 MB / 0.8734 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/1.203, allocations: 0.6562 kB / 0.8734 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003083/1.204, allocations: 82.78 kB / 0.8735 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002354/1.204, allocations: 183.7 kB / 0.8737 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006262/1.21, allocations: 3.536 MB / 0.8771 GB, free: 9.648 MB / 0.5919 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.02254/1.233, allocations: 12.89 MB / 0.8897 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/1.236, allocations: 1.73 MB / 0.8914 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002072/1.238, allocations: 1.149 MB / 0.8925 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/1.24, allocations: 1.664 MB / 0.8941 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.059e-05/1.24, allocations: 58.69 kB / 0.8942 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001958/1.242, allocations: 344.9 kB / 0.8945 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=153): time 6.222e-06/1.242, allocations: 3.984 kB / 0.8945 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=165): time 0.0284/1.27, allocations: 9.105 MB / 0.9034 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.271, allocations: 205.2 kB / 0.9036 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/1.274, allocations: 2.069 MB / 0.9056 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003013/1.274, allocations: 61.7 kB / 0.9057 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007698/1.275, allocations: 0.9868 MB / 0.9067 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006068/1.276, allocations: 0.5762 MB / 0.9072 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/1.276, allocations: 182 kB / 0.9074 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.926e-05/1.276, allocations: 305.1 kB / 0.9077 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002743/1.279, allocations: 1.359 MB / 0.909 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002987/1.282, allocations: 1.741 MB / 0.9107 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005334/1.287, allocations: 3.036 MB / 0.9137 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-05/1.287, allocations: 4 kB / 0.9137 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.008483/1.296, allocations: 4.008 MB / 0.9176 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002712/1.296, allocations: 402.5 kB / 0.918 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/1.296, allocations: 8 kB / 0.918 GB, free: 14.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007809/1.304, allocations: 1.317 MB / 0.9193 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/1.306, allocations: 0.4927 MB / 0.9197 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/1.309, allocations: 2.134 MB / 0.9218 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002857/1.312, allocations: 195.7 kB / 0.922 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000421/1.313, allocations: 135.9 kB / 0.9221 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.313, allocations: 4 kB / 0.9222 GB, free: 9.902 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008427/1.321, allocations: 3.694 MB / 0.9258 GB, free: 6.211 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.321, allocations: 8 kB / 0.9258 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/1.327, allocations: 0.949 MB / 0.9267 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/1.329, allocations: 0.4993 MB / 0.9272 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/1.332, allocations: 1.928 MB / 0.9291 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002976/1.335, allocations: 183.7 kB / 0.9292 GB, free: 2.594 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004433/1.336, allocations: 131.9 kB / 0.9294 GB, free: 2.465 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (255): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (4,15)} Notification: Performance of prepare postOptimizeDAE: time 0.001723/1.338, allocations: 0.6294 MB / 0.93 GB, free: 1.824 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000745/1.338, allocations: 237.3 kB / 0.9302 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008457/1.347, allocations: 4.204 MB / 0.9343 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/1.347, allocations: 16 kB / 0.9343 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.347, allocations: 0 / 0.9343 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/1.347, allocations: 7.969 kB / 0.9343 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009927/1.357, allocations: 5.645 MB / 0.9398 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.357, allocations: 4 kB / 0.9398 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/1.358, allocations: 299.6 kB / 0.9401 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00616/1.364, allocations: 1.153 MB / 0.9413 GB, free: 6.184 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003104/1.365, allocations: 67.95 kB / 0.9413 GB, free: 6.117 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002898/1.368, allocations: 2.045 MB / 0.9433 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.368, allocations: 8 kB / 0.9433 GB, free: 4.012 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2423/1.61, allocations: 4.372 MB / 0.9476 GB, free: 303.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.611, allocations: 394.1 kB / 0.948 GB, free: 303.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009173/1.612, allocations: 46.88 kB / 0.948 GB, free: 303.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/1.615, allocations: 160.7 kB / 0.9482 GB, free: 303.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005579/1.615, allocations: 128.9 kB / 0.9483 GB, free: 303.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000477/1.616, allocations: 102.8 kB / 0.9484 GB, free: 303.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0035/1.619, allocations: 1.543 MB / 0.9499 GB, free: 303.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.91e-07/1.619, allocations: 0 / 0.9499 GB, free: 303.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.008205/1.628, allocations: 2.741 MB / 0.9526 GB, free: 303.2 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (4,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006496/1.634, allocations: 2.32 MB / 0.9548 GB, free: 303 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01124/1.645, allocations: 5.017 MB / 0.9597 GB, free: 301.6 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.429e-05/1.645, allocations: 3.812 kB / 0.9597 GB, free: 301.6 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003372/1.649, allocations: 1.334 MB / 0.961 GB, free: 301.2 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009396/1.658, allocations: 1.278 MB / 0.9623 GB, free: 300.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/1.668, allocations: 5.638 MB / 0.9678 GB, free: 298 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001124/1.67, allocations: 1.661 MB / 0.9694 GB, free: 297.2 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/1.671, allocations: 273 kB / 0.9697 GB, free: 297.2 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/1.671, allocations: 0 / 0.9697 GB, free: 297.2 MB / 0.6544 GB Notification: Performance of Templates: time 0.08815/1.759, allocations: 84.26 MB / 1.052 GB, free: 226.3 MB / 0.6544 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches