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/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_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/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 203.8 kB / 18.11 MB, free: 3.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.449/1.449, allocations: 226.5 MB / 245.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008445/0.0008445, allocations: 96.03 kB / 297.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3822/0.3822, allocations: 44.82 MB / 394.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 8 kB / 467.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4377/0.4381, allocations: 62.95 MB / 0.5184 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.19/9.628, allocations: 3.469 GB / 3.987 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003834/9.629, allocations: 91.94 kB / 3.988 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.501/16.13, allocations: 1.401 GB / 5.389 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 5.891e-06/16.13, allocations: 0 / 5.389 GB, free: 25.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0004713/16.13, allocations: 69.05 kB / 5.389 GB, free: 25.81 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.04061/16.17, allocations: 7.253 MB / 5.396 GB, free: 21.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/16.17, allocations: 15.5 kB / 5.396 GB, free: 21.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002718/16.17, allocations: 279.9 kB / 5.396 GB, free: 21.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006214/16.18, allocations: 1.616 MB / 5.398 GB, free: 20.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/16.18, allocations: 144.3 kB / 5.398 GB, free: 20.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/16.18, allocations: 184 kB / 5.398 GB, free: 20.32 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009252/16.19, allocations: 3.15 MB / 5.401 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.137e-05/16.19, allocations: 0 / 5.401 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/16.19, allocations: 83.95 kB / 5.401 GB, free: 17.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002479/16.19, allocations: 186.3 kB / 5.402 GB, free: 17.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006411/16.2, allocations: 3.486 MB / 5.405 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02424/16.22, allocations: 12.34 MB / 5.417 GB, free: 3.371 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003039/16.23, allocations: 1.706 MB / 5.419 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/16.23, allocations: 1.133 MB / 5.42 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/16.23, allocations: 1.666 MB / 5.421 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.025e-05/16.23, allocations: 55.88 kB / 5.421 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002967/16.23, allocations: 369.5 kB / 5.422 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=153): time 1.266e-05/16.23, allocations: 0 / 5.422 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=165): time 0.03292/16.27, allocations: 9.316 MB / 5.431 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/16.27, allocations: 205.2 kB / 5.431 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004791/16.27, allocations: 2.053 MB / 5.433 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000799/16.27, allocations: 65.7 kB / 5.433 GB, free: 2.262 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001162/16.27, allocations: 0.9701 MB / 5.434 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/16.27, allocations: 0.5776 MB / 5.435 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006157/16.27, allocations: 44 kB / 5.435 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000357/16.27, allocations: 386.2 kB / 5.435 GB, free: 272 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003563/16.28, allocations: 1.32 MB / 5.436 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003744/16.28, allocations: 1.663 MB / 5.438 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00673/16.29, allocations: 2.925 MB / 5.441 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/16.29, allocations: 0 / 5.441 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.0115/16.3, allocations: 3.866 MB / 5.445 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003671/16.3, allocations: 375.1 kB / 5.445 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.618e-05/16.3, allocations: 8 kB / 5.445 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007445/16.31, allocations: 1.295 MB / 5.446 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003261/16.31, allocations: 0.4914 MB / 5.447 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/16.32, allocations: 2.127 MB / 5.449 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/16.32, allocations: 199.7 kB / 5.449 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001057/16.32, allocations: 131.9 kB / 5.449 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/16.32, allocations: 7.938 kB / 5.449 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7595/17.08, allocations: 3.826 MB / 5.453 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.638e-05/17.08, allocations: 9.531 kB / 5.453 GB, free: 58.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005249/17.09, allocations: 0.9433 MB / 5.454 GB, free: 58.73 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003445/17.09, allocations: 0.4919 MB / 5.454 GB, free: 58.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003669/17.09, allocations: 1.919 MB / 5.456 GB, free: 57.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/17.1, allocations: 186.5 kB / 5.456 GB, free: 57.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001316/17.1, allocations: 135.6 kB / 5.456 GB, free: 57.7 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.003227/17.1, allocations: 0.6271 MB / 5.457 GB, free: 57.51 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/17.1, allocations: 233.3 kB / 5.457 GB, free: 57.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/17.12, allocations: 4.139 MB / 5.461 GB, free: 57.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/17.12, allocations: 17 kB / 5.461 GB, free: 57.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/17.12, allocations: 0 / 5.461 GB, free: 57.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/17.12, allocations: 10.67 kB / 5.461 GB, free: 57.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01627/17.13, allocations: 5.632 MB / 5.467 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/17.13, allocations: 3.781 kB / 5.467 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001535/17.13, allocations: 298.3 kB / 5.467 GB, free: 56.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006137/17.14, allocations: 1.147 MB / 5.468 GB, free: 56.77 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005857/17.14, allocations: 68.3 kB / 5.468 GB, free: 56.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/17.14, allocations: 2.052 MB / 5.47 GB, free: 55.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.632e-05/17.14, allocations: 10.36 kB / 5.47 GB, free: 55.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/17.16, allocations: 4.318 MB / 5.475 GB, free: 55.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002585/17.16, allocations: 396.6 kB / 5.475 GB, free: 55.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001785/17.16, allocations: 39.94 kB / 5.475 GB, free: 55.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004098/17.17, allocations: 167 kB / 5.475 GB, free: 55.17 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005968/17.17, allocations: 129.5 kB / 5.475 GB, free: 55.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007007/17.17, allocations: 97.83 kB / 5.475 GB, free: 55.17 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.005327/17.17, allocations: 1.534 MB / 5.477 GB, free: 55.02 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.51e-07/17.17, allocations: 2.406 kB / 5.477 GB, free: 55.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0275/17.2, allocations: 3.112 MB / 5.48 GB, free: 55.02 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.02103/17.22, allocations: 3.888 MB / 5.484 GB, free: 54.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01908/17.24, allocations: 4.903 MB / 5.488 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.215e-05/17.24, allocations: 5.141 kB / 5.488 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.005144/17.25, allocations: 1.292 MB / 5.49 GB, free: 54.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01477/17.26, allocations: 1.243 MB / 5.491 GB, free: 54.25 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/17.28, allocations: 5.238 MB / 5.496 GB, free: 52.28 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002034/17.28, allocations: 1.666 MB / 5.498 GB, free: 51.54 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.007789/17.29, allocations: 1.46 MB / 5.499 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/17.29, allocations: 230 kB / 5.499 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of SimCode: time 2.014e-06/17.29, allocations: 2.75 kB / 5.499 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.203/17.49, allocations: 107.5 MB / 5.604 GB, free: 45.82 MB / 0.6355 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches