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.0008718/0.0008718, allocations: 93.22 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.0009585/0.0009589, allocations: 203.6 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.531/1.531, allocations: 227.8 MB / 246.9 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2433/0.2433, allocations: 46.21 MB / 345.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1663, allocations: 63.57 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 1.214/1.38, allocations: 317.2 MB / 0.7817 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.05971/1.44, allocations: 23.93 MB / 0.805 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005607/1.446, allocations: 72.66 kB / 0.8051 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004953/1.451, allocations: 0.9656 MB / 0.806 GB, free: 0 / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.02357/1.474, allocations: 6.348 MB / 0.8122 GB, free: 14.26 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.02365/1.498, allocations: 7.23 MB / 0.8193 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01341/1.511, allocations: 9.097 MB / 0.8282 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004862/1.516, allocations: 1.706 MB / 0.8298 GB, free: 6.113 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01207/1.528, allocations: 3.561 MB / 0.8333 GB, free: 3.355 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007732/1.536, allocations: 2.861 MB / 0.8361 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/1.537, allocations: 144 kB / 0.8363 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03822/1.575, allocations: 17.27 MB / 0.8531 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002751/1.578, allocations: 1.078 MB / 0.8542 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003154/1.581, allocations: 1.375 MB / 0.8555 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.03781/1.619, allocations: 12.08 MB / 0.8673 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/1.619, allocations: 4 kB / 0.8673 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.559e-06/1.619, allocations: 4 kB / 0.8673 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001728/1.619, allocations: 0 / 0.8673 GB, free: 3.402 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.01611/1.635, allocations: 4.181 MB / 0.8714 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/1.636, allocations: 13.47 kB / 0.8714 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/1.637, allocations: 285 kB / 0.8717 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/1.641, allocations: 1.442 MB / 0.8731 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/1.641, allocations: 153 kB / 0.8732 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006047/1.642, allocations: 179.7 kB / 0.8734 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007364/1.649, allocations: 3.162 MB / 0.8765 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/1.649, allocations: 0 / 0.8765 GB, free: 9.992 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00033/1.65, allocations: 78.39 kB / 0.8766 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002895/1.65, allocations: 191.7 kB / 0.8768 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009675/1.66, allocations: 3.541 MB / 0.8802 GB, free: 6.203 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.03279/1.693, allocations: 12.88 MB / 0.8928 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/1.697, allocations: 1.728 MB / 0.8945 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002608/1.7, allocations: 1.149 MB / 0.8956 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002219/1.702, allocations: 1.668 MB / 0.8972 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.33e-05/1.702, allocations: 55.86 kB / 0.8973 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002491/1.705, allocations: 344.5 kB / 0.8976 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=153): time 5.841e-06/1.705, allocations: 0 / 0.8976 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=165): time 0.03715/1.742, allocations: 9.115 MB / 0.9065 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/1.742, allocations: 201.2 kB / 0.9067 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004577/1.746, allocations: 2.065 MB / 0.9087 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000623/1.747, allocations: 69.69 kB / 0.9088 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/1.748, allocations: 0.9734 MB / 0.9097 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.749, allocations: 0.5826 MB / 0.9103 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007671/1.75, allocations: 182 kB / 0.9105 GB, free: 5.906 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.75, allocations: 309.1 kB / 0.9108 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00375/1.754, allocations: 1.351 MB / 0.9121 GB, free: 4.246 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/1.758, allocations: 1.746 MB / 0.9138 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/1.765, allocations: 3.039 MB / 0.9168 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/1.765, allocations: 4 kB / 0.9168 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01066/1.776, allocations: 4.006 MB / 0.9207 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003977/1.776, allocations: 403.7 kB / 0.9211 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.898e-05/1.776, allocations: 11.94 kB / 0.9211 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008481/1.785, allocations: 1.317 MB / 0.9224 GB, free: 9.293 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/1.788, allocations: 0.4915 MB / 0.9229 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/1.792, allocations: 2.129 MB / 0.9249 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/1.795, allocations: 191.7 kB / 0.9251 GB, free: 6.434 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004608/1.795, allocations: 139.9 kB / 0.9253 GB, free: 6.297 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.795, allocations: 10.12 kB / 0.9253 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009345/1.805, allocations: 3.686 MB / 0.9289 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/1.805, allocations: 8 kB / 0.9289 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005712/1.81, allocations: 0.95 MB / 0.9298 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/1.813, allocations: 0.5033 MB / 0.9303 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003388/1.816, allocations: 1.924 MB / 0.9322 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/1.819, allocations: 179.8 kB / 0.9323 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003885/1.82, allocations: 135.9 kB / 0.9325 GB, free: 14.84 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.001502/1.821, allocations: 0.6293 MB / 0.9331 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/1.822, allocations: 225.3 kB / 0.9333 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008738/1.831, allocations: 4.215 MB / 0.9374 GB, free: 9.754 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/1.831, allocations: 16 kB / 0.9374 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.831, allocations: 0 / 0.9374 GB, free: 9.738 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/1.831, allocations: 7.969 kB / 0.9374 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.841, allocations: 5.64 MB / 0.9429 GB, free: 4.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.841, allocations: 4 kB / 0.9429 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/1.843, allocations: 296.1 kB / 0.9432 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008529/1.851, allocations: 1.16 MB / 0.9444 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005548/1.852, allocations: 59.97 kB / 0.9444 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004469/1.856, allocations: 2.049 MB / 0.9464 GB, free: 396 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/1.856, allocations: 7.938 kB / 0.9464 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2508/2.107, allocations: 4.368 MB / 0.9507 GB, free: 304 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/2.109, allocations: 395.8 kB / 0.9511 GB, free: 303.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004864/2.109, allocations: 40.91 kB / 0.9511 GB, free: 303.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/2.111, allocations: 165.1 kB / 0.9513 GB, free: 303.8 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/2.112, allocations: 133.5 kB / 0.9514 GB, free: 303.8 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003341/2.112, allocations: 100.6 kB / 0.9515 GB, free: 303.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003241/2.115, allocations: 1.547 MB / 0.953 GB, free: 303.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 4.91e-07/2.116, allocations: 0 / 0.953 GB, free: 303.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.01026/2.126, allocations: 2.735 MB / 0.9557 GB, free: 303 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.008175/2.134, allocations: 2.318 MB / 0.9579 GB, free: 302.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01192/2.146, allocations: 5.015 MB / 0.9628 GB, free: 301 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/2.146, allocations: 5.406 kB / 0.9628 GB, free: 301 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/2.149, allocations: 1.342 MB / 0.9642 GB, free: 300.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007767/2.157, allocations: 1.281 MB / 0.9654 GB, free: 300.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006827/2.163, allocations: 5.512 MB / 0.9708 GB, free: 297.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009127/2.164, allocations: 1.666 MB / 0.9724 GB, free: 296.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.004337/2.169, allocations: 1.547 MB / 0.9739 GB, free: 296.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007717/2.17, allocations: 232.9 kB / 0.9741 GB, free: 296.6 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/2.17, allocations: 0 / 0.9741 GB, free: 296.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.1125/2.282, allocations: 89.66 MB / 1.062 GB, free: 216.2 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