Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 179 kB / 18.08 MB, free: 3.637 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 223.3 MB / 242.1 MB, free: 11.76 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007798/0.0007798, allocations: 88.44 kB / 293.3 MB, free: 10.81 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.339/0.339, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004622, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4128, allocations: 61.88 MB / 0.5107 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.211/7.624, allocations: 3.468 GB / 3.979 GB, free: 27.78 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/7.624, allocations: 95.94 kB / 3.979 GB, free: 27.69 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.979/13.6, allocations: 1.42 GB / 5.399 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.825e-06/13.6, allocations: 1.875 kB / 5.399 GB, free: 30.29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0003126/13.6, allocations: 62.66 kB / 5.399 GB, free: 30.28 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.033/13.64, allocations: 7.246 MB / 5.406 GB, free: 26.35 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/13.64, allocations: 10.28 kB / 5.406 GB, free: 26.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/13.64, allocations: 291.4 kB / 5.407 GB, free: 26.22 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/13.64, allocations: 1.604 MB / 5.408 GB, free: 25.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/13.64, allocations: 151.1 kB / 5.408 GB, free: 25.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001068/13.65, allocations: 184.3 kB / 5.408 GB, free: 25.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008191/13.65, allocations: 3.154 MB / 5.412 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.936e-05/13.65, allocations: 0 / 5.412 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000607/13.65, allocations: 83.34 kB / 5.412 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002564/13.65, allocations: 181 kB / 5.412 GB, free: 25.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006613/13.66, allocations: 3.491 MB / 5.415 GB, free: 25.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02806/13.69, allocations: 12.32 MB / 5.427 GB, free: 20.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004179/13.69, allocations: 1.708 MB / 5.429 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002367/13.7, allocations: 1.128 MB / 5.43 GB, free: 20.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00161/13.7, allocations: 1.666 MB / 5.432 GB, free: 18.73 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/13.7, allocations: 58.58 kB / 5.432 GB, free: 18.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003535/13.7, allocations: 369.6 kB / 5.432 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=153): time 2.434e-05/13.7, allocations: 0 / 5.432 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=165): time 0.0313/13.73, allocations: 9.314 MB / 5.441 GB, free: 17.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.173e-05/13.73, allocations: 200.8 kB / 5.441 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003939/13.74, allocations: 2.053 MB / 5.443 GB, free: 17.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005918/13.74, allocations: 61.64 kB / 5.443 GB, free: 17.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008188/13.74, allocations: 0.9808 MB / 5.444 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008216/13.74, allocations: 0.5712 MB / 5.445 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004035/13.74, allocations: 49.69 kB / 5.445 GB, free: 16.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002128/13.74, allocations: 398.5 kB / 5.445 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002778/13.74, allocations: 1.303 MB / 5.447 GB, free: 16.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002878/13.75, allocations: 1.664 MB / 5.448 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005141/13.75, allocations: 2.921 MB / 5.451 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/13.75, allocations: 3.5 kB / 5.451 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.008552/13.76, allocations: 3.861 MB / 5.455 GB, free: 15 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/13.76, allocations: 378.4 kB / 5.455 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/13.76, allocations: 6.812 kB / 5.455 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006588/13.77, allocations: 1.296 MB / 5.456 GB, free: 14.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002695/13.77, allocations: 499.7 kB / 5.457 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002991/13.77, allocations: 2.135 MB / 5.459 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/13.78, allocations: 200 kB / 5.459 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007832/13.78, allocations: 140.2 kB / 5.459 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/13.78, allocations: 3.969 kB / 5.459 GB, free: 13.47 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009771/13.79, allocations: 3.821 MB / 5.463 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.429e-05/13.79, allocations: 9.078 kB / 5.463 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004438/13.79, allocations: 0.9463 MB / 5.464 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002661/13.79, allocations: 0.4911 MB / 5.465 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/13.8, allocations: 1.922 MB / 5.466 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/13.8, allocations: 186.1 kB / 5.467 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008121/13.8, allocations: 133.9 kB / 5.467 GB, free: 12.18 MB / 0.6042 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.002348/13.8, allocations: 0.6201 MB / 5.467 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009548/13.8, allocations: 236.9 kB / 5.468 GB, free: 11.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008252/13.81, allocations: 4.129 MB / 5.472 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/13.81, allocations: 18.69 kB / 5.472 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/13.81, allocations: 2.75 kB / 5.472 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.283e-05/13.81, allocations: 13.92 kB / 5.472 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01204/13.82, allocations: 5.651 MB / 5.477 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/13.82, allocations: 3.969 kB / 5.477 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/13.83, allocations: 298.7 kB / 5.477 GB, free: 8.246 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005189/13.83, allocations: 1.16 MB / 5.479 GB, free: 8.094 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004862/13.83, allocations: 65.8 kB / 5.479 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/13.83, allocations: 2.049 MB / 5.481 GB, free: 6.676 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.161e-06/13.83, allocations: 2.656 kB / 5.481 GB, free: 6.676 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009835/13.84, allocations: 4.314 MB / 5.485 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/13.84, allocations: 388.6 kB / 5.485 GB, free: 4.535 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/13.85, allocations: 44.72 kB / 5.485 GB, free: 4.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/13.85, allocations: 160.1 kB / 5.485 GB, free: 4.477 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004463/13.85, allocations: 128.9 kB / 5.486 GB, free: 4.453 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004553/13.85, allocations: 102.4 kB / 5.486 GB, free: 4.438 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.003295/13.85, allocations: 1.539 MB / 5.487 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.41e-07/13.85, allocations: 0 / 5.487 GB, free: 3.836 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01395/13.87, allocations: 3.087 MB / 5.49 GB, free: 3.004 MB / 0.6042 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.01219/13.88, allocations: 3.873 MB / 5.494 GB, free: 1.906 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.01463/13.89, allocations: 5.135 MB / 5.499 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.84e-05/13.89, allocations: 1.281 kB / 5.499 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003344/13.9, allocations: 1.287 MB / 5.5 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009669/13.91, allocations: 1.245 MB / 5.501 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/13.92, allocations: 5.235 MB / 5.507 GB, free: 8.727 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002071/13.92, allocations: 1.671 MB / 5.508 GB, free: 7.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.006411/13.93, allocations: 1.458 MB / 5.51 GB, free: 6.355 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/13.93, allocations: 233.3 kB / 5.51 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of SimCode: time 9.72e-07/13.93, allocations: 0 / 5.51 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of Templates: time 0.6526/14.58, allocations: 107.6 MB / 5.615 GB, free: 55.93 MB / 0.6355 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches