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.001045/0.001045, allocations: 92.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 201.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.8 MB / 246.8 MB, free: 9.734 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2224/0.2224, allocations: 46.19 MB / 345.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 419.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.131, allocations: 63.55 MB / 483.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.8485/0.9796, allocations: 317.2 MB / 0.7816 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02777/1.007, allocations: 23.93 MB / 0.8049 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003377/1.011, allocations: 69.06 kB / 0.805 GB, free: 268 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00363/1.014, allocations: 0.965 MB / 0.8059 GB, free: 0 / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.02079/1.035, allocations: 6.348 MB / 0.8121 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02009/1.055, allocations: 7.233 MB / 0.8192 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01011/1.066, allocations: 9.096 MB / 0.8281 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003404/1.069, allocations: 1.712 MB / 0.8298 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008726/1.078, allocations: 3.556 MB / 0.8332 GB, free: 3.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006005/1.084, allocations: 2.86 MB / 0.836 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0009206/1.085, allocations: 144 kB / 0.8362 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03422/1.119, allocations: 17.27 MB / 0.853 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002495/1.121, allocations: 1.083 MB / 0.8541 GB, free: 84 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003552/1.125, allocations: 1.37 MB / 0.8554 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0301/1.155, allocations: 12.09 MB / 0.8672 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.155, allocations: 0 / 0.8672 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.354e-06/1.155, allocations: 0 / 0.8672 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.964e-05/1.155, allocations: 0 / 0.8672 GB, free: 3.492 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.01188/1.167, allocations: 4.192 MB / 0.8713 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.167, allocations: 9.469 kB / 0.8713 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/1.169, allocations: 289 kB / 0.8716 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/1.171, allocations: 1.439 MB / 0.873 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/1.172, allocations: 154.2 kB / 0.8732 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004825/1.172, allocations: 181.3 kB / 0.8733 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006246/1.178, allocations: 3.153 MB / 0.8764 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/1.178, allocations: 3.375 kB / 0.8764 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/1.179, allocations: 84.52 kB / 0.8765 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/1.179, allocations: 195.7 kB / 0.8767 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007186/1.186, allocations: 3.534 MB / 0.8801 GB, free: 6.285 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.0256/1.212, allocations: 12.89 MB / 0.8927 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/1.215, allocations: 1.728 MB / 0.8944 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00218/1.218, allocations: 1.151 MB / 0.8955 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/1.219, allocations: 1.667 MB / 0.8972 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.601e-05/1.219, allocations: 51.88 kB / 0.8972 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00219/1.222, allocations: 348.6 kB / 0.8975 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=153): time 5.751e-06/1.222, allocations: 0 / 0.8975 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=165): time 0.03014/1.252, allocations: 9.119 MB / 0.9064 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/1.252, allocations: 201.2 kB / 0.9066 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/1.255, allocations: 2.065 MB / 0.9086 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005705/1.256, allocations: 65.7 kB / 0.9087 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008342/1.257, allocations: 0.9808 MB / 0.9097 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008077/1.258, allocations: 0.5792 MB / 0.9102 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003983/1.258, allocations: 178 kB / 0.9104 GB, free: 6 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.258, allocations: 309.1 kB / 0.9107 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003075/1.261, allocations: 1.359 MB / 0.912 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00332/1.265, allocations: 1.738 MB / 0.9137 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006063/1.271, allocations: 3.039 MB / 0.9167 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.271, allocations: 0 / 0.9167 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.009876/1.281, allocations: 4.013 MB / 0.9206 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/1.281, allocations: 403.7 kB / 0.921 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.281, allocations: 8 kB / 0.921 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008128/1.289, allocations: 1.309 MB / 0.9223 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002742/1.292, allocations: 0.4953 MB / 0.9228 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/1.295, allocations: 2.132 MB / 0.9248 GB, free: 6.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/1.299, allocations: 191.7 kB / 0.925 GB, free: 6.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005551/1.299, allocations: 143.9 kB / 0.9252 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.299, allocations: 4 kB / 0.9252 GB, free: 6.387 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009134/1.308, allocations: 3.683 MB / 0.9288 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/1.309, allocations: 8 kB / 0.9288 GB, free: 2.676 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005591/1.314, allocations: 0.9525 MB / 0.9297 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002606/1.317, allocations: 0.4994 MB / 0.9302 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003117/1.32, allocations: 1.931 MB / 0.9321 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003103/1.323, allocations: 179.8 kB / 0.9322 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004289/1.323, allocations: 135.9 kB / 0.9324 GB, free: 14.93 MB / 0.6544 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.001571/1.325, allocations: 0.6331 MB / 0.933 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005423/1.326, allocations: 229.3 kB / 0.9332 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008676/1.334, allocations: 4.206 MB / 0.9373 GB, free: 9.852 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/1.334, allocations: 16 kB / 0.9373 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.334, allocations: 0 / 0.9373 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.566e-05/1.334, allocations: 15.95 kB / 0.9374 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.346, allocations: 5.634 MB / 0.9429 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/1.346, allocations: 4 kB / 0.9429 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/1.347, allocations: 300.1 kB / 0.9431 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006353/1.354, allocations: 1.16 MB / 0.9443 GB, free: 2.645 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003538/1.354, allocations: 59.97 kB / 0.9443 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/1.357, allocations: 2.045 MB / 0.9463 GB, free: 500 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.357, allocations: 7.938 kB / 0.9463 GB, free: 492 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2711/1.628, allocations: 4.374 MB / 0.9506 GB, free: 304.1 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.629, allocations: 391.3 kB / 0.951 GB, free: 304 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007125/1.63, allocations: 44.06 kB / 0.951 GB, free: 303.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/1.633, allocations: 160.5 kB / 0.9512 GB, free: 303.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/1.633, allocations: 134.6 kB / 0.9513 GB, free: 303.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003356/1.634, allocations: 99.78 kB / 0.9514 GB, free: 303.9 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002859/1.636, allocations: 1.546 MB / 0.9529 GB, free: 303.3 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.21e-07/1.636, allocations: 0 / 0.9529 GB, free: 303.3 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009598/1.646, allocations: 2.741 MB / 0.9556 GB, free: 303.1 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.007552/1.654, allocations: 2.313 MB / 0.9578 GB, free: 302.8 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01201/1.666, allocations: 5.014 MB / 0.9627 GB, free: 301 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/1.666, allocations: 4.031 kB / 0.9627 GB, free: 301 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00315/1.669, allocations: 1.346 MB / 0.9641 GB, free: 300.6 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008228/1.677, allocations: 1.278 MB / 0.9653 GB, free: 300.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00734/1.685, allocations: 5.508 MB / 0.9707 GB, free: 297.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009254/1.686, allocations: 1.667 MB / 0.9723 GB, free: 296.7 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004498/1.69, allocations: 1.55 MB / 0.9738 GB, free: 296.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/1.691, allocations: 234.6 kB / 0.9741 GB, free: 296.6 MB / 0.6544 GB Notification: Performance of SimCode: time 7.01e-07/1.691, allocations: 0 / 0.9741 GB, free: 296.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.1106/1.801, allocations: 89.66 MB / 1.062 GB, free: 216.5 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionTraceSubstances/TestJunctionTraceSubstances.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches