Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 109.3 kB / 19.97 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 185.2 kB / 23.28 MB, free: 5.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 252.1 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.7683/0.7683, allocations: 94.58 MB / 402 MB, free: 15.03 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") translateModel(ThermofluidStream.Topology.Tests.TestJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionN.outlet.m_flow|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 86.66 kB / 0.5484 GB, free: 42.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1219, allocations: 71.9 MB / 0.6186 GB, free: 7.898 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunction): time 0.4833/0.6052, allocations: 145.1 MB / 0.7603 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004002/0.6092, allocations: 4.653 MB / 0.7649 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.6095, allocations: 25.5 kB / 0.7649 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005534/0.6101, allocations: 202.2 kB / 0.7651 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006607/0.6108, allocations: 331.7 kB / 0.7654 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009613/0.6117, allocations: 442.2 kB / 0.7658 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007056/0.6124, allocations: 0.7607 MB / 0.7666 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001742/0.6126, allocations: 65.59 kB / 0.7666 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006685/0.6133, allocations: 404.7 kB / 0.767 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004393/0.6137, allocations: 339.5 kB / 0.7673 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.542e-05/0.6138, allocations: 31.16 kB / 0.7674 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009628/0.6147, allocations: 478.9 kB / 0.7678 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.6148, allocations: 108.1 kB / 0.7679 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.615, allocations: 211.1 kB / 0.7681 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008612/0.6159, allocations: 0.6482 MB / 0.7688 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.6159, allocations: 0 / 0.7688 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6159, allocations: 0 / 0.7688 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.6159, allocations: 0.8125 kB / 0.7688 GB, free: 3.066 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001577/0.6175, allocations: 0.8369 MB / 0.7696 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.6175, allocations: 10.02 kB / 0.7696 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.6177, allocations: 51.92 kB / 0.7696 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008798/0.6185, allocations: 492.7 kB / 0.7701 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.6186, allocations: 18.47 kB / 0.7701 GB, free: 18.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.6186, allocations: 27.36 kB / 0.7702 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007764/0.6194, allocations: 452.8 kB / 0.7706 GB, free: 18.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6194, allocations: 1.281 kB / 0.7706 GB, free: 18.17 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.6195, allocations: 9.75 kB / 0.7706 GB, free: 18.17 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.85e-05/0.6195, allocations: 21.67 kB / 0.7706 GB, free: 18.17 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.6203, allocations: 490.2 kB / 0.7711 GB, free: 18.16 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.6223, allocations: 1.441 MB / 0.7725 GB, free: 17.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.6228, allocations: 228.2 kB / 0.7727 GB, free: 17.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.623, allocations: 194.3 kB / 0.7729 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/0.6234, allocations: 339.6 kB / 0.7732 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.6234, allocations: 40.64 kB / 0.7733 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=32): time 1.693e-06/0.6234, allocations: 0 / 0.7733 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.002889/0.6263, allocations: 1.527 MB / 0.7748 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.6264, allocations: 55.84 kB / 0.7748 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.6269, allocations: 399.5 kB / 0.7752 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.627, allocations: 32.39 kB / 0.7752 GB, free: 16.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.6271, allocations: 203.8 kB / 0.7754 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.6272, allocations: 118.5 kB / 0.7755 GB, free: 16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.53e-05/0.6273, allocations: 68.22 kB / 0.7756 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.6275, allocations: 360.7 kB / 0.7759 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.6277, allocations: 145.4 kB / 0.7761 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.6278, allocations: 144.6 kB / 0.7762 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.6283, allocations: 345.9 kB / 0.7765 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6283, allocations: 6.719 kB / 0.7766 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007916/0.6291, allocations: 0.5078 MB / 0.777 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.6291, allocations: 7.5 kB / 0.7771 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6291, allocations: 0 / 0.7771 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003469/0.6295, allocations: 119.8 kB / 0.7772 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.6297, allocations: 58.53 kB / 0.7772 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00251/0.6322, allocations: 2.336 MB / 0.7795 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.6324, allocations: 9.344 kB / 0.7795 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.6325, allocations: 18.59 kB / 0.7795 GB, free: 14.05 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,9,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000194/0.6327, allocations: 169.2 kB / 0.7797 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.265e-05/0.6327, allocations: 45.06 kB / 0.7797 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009659/0.6337, allocations: 0.6588 MB / 0.7804 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6337, allocations: 3.734 kB / 0.7804 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.6337, allocations: 0.9688 kB / 0.7804 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.6338, allocations: 112.7 kB / 0.7805 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.757e-05/0.6339, allocations: 8.688 kB / 0.7805 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.634, allocations: 6.375 kB / 0.7805 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.6341, allocations: 33.86 kB / 0.7805 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001156/0.6353, allocations: 0.5281 MB / 0.7811 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008031/0.6361, allocations: 0.7002 MB / 0.7817 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001804/0.6362, allocations: 137 kB / 0.7819 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002927/0.6365, allocations: 318.2 kB / 0.7822 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of Backend: time 5.41e-07/0.6365, allocations: 0 / 0.7822 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001317/0.6378, allocations: 0.5818 MB / 0.7827 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001808/0.6397, allocations: 1.46 MB / 0.7842 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of Templates: time 0.01326/0.6529, allocations: 8.808 MB / 0.7928 GB, free: 11.45 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunction_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.022625846031588]