Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 80.45 kB / 19.43 MB, free: 1.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 168.8 kB / 22.74 MB, free: 4.766 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.415/1.415, allocations: 177.1 MB / 203.1 MB, free: 9.039 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7342/0.7342, allocations: 80.18 MB / 339.7 MB, free: 10.74 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM") translateModel(ThermofluidStream.Topology.Tests.TestJunctionNM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|junctionNM.splitterN.inlet.m_flow|junctionNM1.splitterN.inlet.m_flow|sink.inlet.m_flow|sink1.inlet.m_flow|sink3.inlet.m_flow|sink4.inlet.m_flow|source.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.527e-06/3.527e-06, allocations: 4 kB / 430.5 MB, free: 52 kB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.548e-05, allocations: 2.312 kB / 430.5 MB, free: 48 kB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.7557/0.7557, allocations: 339 MB / 0.7515 GB, free: 156 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.7726, allocations: 16.15 MB / 0.7673 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.7746, allocations: 119.1 kB / 0.7674 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004298/0.7789, allocations: 1.784 MB / 0.7691 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.02109/0.8, allocations: 9.093 MB / 0.778 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01077/0.8107, allocations: 4.409 MB / 0.7823 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005634/0.8164, allocations: 4.509 MB / 0.7867 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.8175, allocations: 0.6423 MB / 0.7873 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006519/0.824, allocations: 3.462 MB / 0.7907 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002572/0.8266, allocations: 1.657 MB / 0.7923 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004155/0.827, allocations: 250.6 kB / 0.7926 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02686/0.8539, allocations: 13.74 MB / 0.806 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001498/0.8554, allocations: 0.9374 MB / 0.8069 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.8576, allocations: 1.072 MB / 0.808 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.02535/0.8829, allocations: 10.79 MB / 0.8185 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.883, allocations: 4 kB / 0.8185 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.593e-06/0.883, allocations: 0 / 0.8185 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.932e-05/0.883, allocations: 0 / 0.8185 GB, free: 14.31 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01087/0.8939, allocations: 4.695 MB / 0.8231 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.8939, allocations: 13.47 kB / 0.8231 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.8958, allocations: 0.5741 MB / 0.8237 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/0.8991, allocations: 1.757 MB / 0.8254 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.8992, allocations: 145.9 kB / 0.8255 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000351/0.8996, allocations: 206.4 kB / 0.8257 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005147/0.9047, allocations: 3.212 MB / 0.8289 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.9048, allocations: 4 kB / 0.8289 GB, free: 3.734 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000184/0.905, allocations: 76.92 kB / 0.8289 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002466/0.9052, allocations: 190.8 kB / 0.8291 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005345/0.9106, allocations: 3.462 MB / 0.8325 GB, free: 32 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01429/0.9248, allocations: 7.693 MB / 0.84 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002861/0.9277, allocations: 1.487 MB / 0.8415 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.9298, allocations: 1.281 MB / 0.8427 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/0.9312, allocations: 497.5 kB / 0.8432 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.9312, allocations: 52.56 kB / 0.8432 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=196): time 5.621e-06/0.9312, allocations: 1.875 kB / 0.8432 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=200): time 0.01622/0.9475, allocations: 7.923 MB / 0.851 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.9476, allocations: 102.1 kB / 0.8511 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/0.9497, allocations: 1.426 MB / 0.8525 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001956/0.9499, allocations: 59.27 kB / 0.8525 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008739/0.9508, allocations: 1.011 MB / 0.8535 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007433/0.9515, allocations: 0.7104 MB / 0.8542 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006785/0.9522, allocations: 350.8 kB / 0.8545 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.9524, allocations: 309.1 kB / 0.8548 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.9541, allocations: 1.038 MB / 0.8558 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.9562, allocations: 1.222 MB / 0.857 GB, free: 6.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/0.9604, allocations: 2.432 MB / 0.8594 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.9604, allocations: 0 / 0.8594 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006215/0.9666, allocations: 3.196 MB / 0.8625 GB, free: 1.281 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.9666, allocations: 8 kB / 0.8625 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.9666, allocations: 2.812 kB / 0.8625 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.9681, allocations: 484.2 kB / 0.863 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.9695, allocations: 349.2 kB / 0.8633 GB, free: 484 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008683/0.9782, allocations: 6.029 MB / 0.8692 GB, free: 10.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.9796, allocations: 51.97 kB / 0.8693 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004047/0.98, allocations: 123.3 kB / 0.8694 GB, free: 10.11 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (182): * Single equations (assignments): 170 * Array equations: 10 * 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): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001177/0.9812, allocations: 0.5295 MB / 0.8699 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008221/0.982, allocations: 286.6 kB / 0.8702 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008568/0.9906, allocations: 4.554 MB / 0.8746 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.885e-05/0.9906, allocations: 19.31 kB / 0.8747 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.884e-05/0.9907, allocations: 8 kB / 0.8747 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.801e-05/0.9907, allocations: 11.95 kB / 0.8747 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/1.003, allocations: 5.53 MB / 0.8801 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/1.003, allocations: 11.17 kB / 0.8801 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/1.004, allocations: 282.1 kB / 0.8803 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/1.006, allocations: 499.9 kB / 0.8808 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000232/1.006, allocations: 75.94 kB / 0.8809 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008822/1.015, allocations: 6.062 MB / 0.8868 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.015, allocations: 0 / 0.8868 GB, free: 8.207 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008896/1.024, allocations: 4.783 MB / 0.8915 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005959/1.024, allocations: 194.6 kB / 0.8917 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004782/1.025, allocations: 38.34 kB / 0.8917 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/1.026, allocations: 47.98 kB / 0.8918 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004081/1.027, allocations: 171.4 kB / 0.8919 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000286/1.027, allocations: 107.9 kB / 0.892 GB, free: 2.879 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001801/1.029, allocations: 1.077 MB / 0.8931 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/1.029, allocations: 0 / 0.8931 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.004883/1.034, allocations: 1.653 MB / 0.8947 GB, free: 164 kB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (junctionNM1.junctionN.outlet.m_flow,flowResistance6.inlet.m_flow,flowResistance8.inlet.m_flow,flowResistance9.inlet.m_flow,junctionNM.junctionN.outlet.m_flow,flowResistance1.inlet.m_flow,flowResistance3.inlet.m_flow,flowResistance4.inlet.m_flow) * 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): 138 * Array equations: 10 * 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): 2 systems {(5,16,68.0%), (5,16,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005044/1.039, allocations: 2.028 MB / 0.8967 GB, free: 14.28 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005827/1.044, allocations: 2.975 MB / 0.8996 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/1.044, allocations: 0 / 0.8996 GB, free: 11.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003475/1.048, allocations: 1.774 MB / 0.9013 GB, free: 9.539 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005309/1.053, allocations: 1.039 MB / 0.9023 GB, free: 8.535 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/1.064, allocations: 5.213 MB / 0.9074 GB, free: 3.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001693/1.066, allocations: 1.232 MB / 0.9086 GB, free: 2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003546/1.069, allocations: 1.29 MB / 0.9099 GB, free: 0.7266 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008656/1.07, allocations: 232.4 kB / 0.9101 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of SimCode: time 1.282e-06/1.07, allocations: 0 / 0.9101 GB, free: 0.4961 MB / 0.67 GB Notification: Performance of Templates: time 0.2579/1.328, allocations: 75.28 MB / 0.9836 GB, free: 325.3 MB / 0.7012 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestJunctionNM.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: 8.845791894942522]