Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001289/0.001289, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0008998/0.0008998, allocations: 181.3 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.8875/0.8875, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.629/0.629, allocations: 118.6 MB / 378.9 MB, free: 1.305 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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_dev_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_dev_ThermofluidStream.Topology.Tests.TestJunctionNM") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.717e-06/9.94e-06, allocations: 2.312 kB / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestJunctionNM): time 0.265/0.265, allocations: 154 MB / 0.5711 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.269, allocations: 4.459 MB / 0.5755 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005196/0.2695, allocations: 130.8 kB / 0.5756 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.2702, allocations: 495.8 kB / 0.5761 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.2734, allocations: 2.63 MB / 0.5787 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.2746, allocations: 1.012 MB / 0.5797 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002571/0.2772, allocations: 4.585 MB / 0.5841 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008118/0.278, allocations: 0.6627 MB / 0.5848 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.28, allocations: 2.641 MB / 0.5874 GB, free: 448 kB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.2813, allocations: 1.636 MB / 0.589 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.2815, allocations: 244 kB / 0.5892 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.2833, allocations: 1.821 MB / 0.591 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0007232/0.284, allocations: 0.9657 MB / 0.5919 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0007521/0.2848, allocations: 1.083 MB / 0.593 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.2873, allocations: 3.671 MB / 0.5966 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.2873, allocations: 0 / 0.5966 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of FrontEnd: time 7.31e-07/0.2873, allocations: 0 / 0.5966 GB, free: 6.996 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.754e-05/0.2873, allocations: 0 / 0.5966 GB, free: 6.996 MB / 0.5417 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.003963/0.2913, allocations: 3.637 MB / 0.6001 GB, free: 3.312 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.612e-05/0.2913, allocations: 11.97 kB / 0.6001 GB, free: 3.301 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007304/0.292, allocations: 500 kB / 0.6006 GB, free: 2.812 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.2937, allocations: 1.58 MB / 0.6021 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.836e-05/0.2938, allocations: 143.8 kB / 0.6023 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/0.294, allocations: 203.9 kB / 0.6025 GB, free: 0.8047 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.2954, allocations: 1.608 MB / 0.604 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.2955, allocations: 4 kB / 0.604 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.2956, allocations: 75.98 kB / 0.6041 GB, free: 15.03 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/0.2957, allocations: 179.9 kB / 0.6043 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2968, allocations: 0.9421 MB / 0.6052 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005487/0.3023, allocations: 5.419 MB / 0.6105 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007875/0.3031, allocations: 0.7665 MB / 0.6112 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/0.3035, allocations: 445.5 kB / 0.6117 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/0.3038, allocations: 150.5 kB / 0.6118 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3038, allocations: 60.48 kB / 0.6119 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=196): time 3.247e-06/0.3038, allocations: 0 / 0.6119 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.004483/0.3083, allocations: 3.223 MB / 0.615 GB, free: 3.676 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.3083, allocations: 99.11 kB / 0.6151 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008324/0.3092, allocations: 1.317 MB / 0.6164 GB, free: 2.199 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.09e-05/0.3093, allocations: 57.7 kB / 0.6165 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.3096, allocations: 0.7368 MB / 0.6172 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.3099, allocations: 0.7124 MB / 0.6179 GB, free: 0.6641 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003439/0.3102, allocations: 327.4 kB / 0.6182 GB, free: 348 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.491e-05/0.3103, allocations: 305.1 kB / 0.6185 GB, free: 40 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.3107, allocations: 278.7 kB / 0.6187 GB, free: 15.77 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.3111, allocations: 448.9 kB / 0.6192 GB, free: 15.29 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.3123, allocations: 0.9354 MB / 0.6201 GB, free: 14.32 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3123, allocations: 4 kB / 0.6201 GB, free: 14.31 MB / 0.573 GB Notification: Performance of matching and sorting (n=222) (initialization): time 0.001504/0.3138, allocations: 1.263 MB / 0.6213 GB, free: 13.03 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.3138, allocations: 4 kB / 0.6213 GB, free: 13.03 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.3138, allocations: 4 kB / 0.6213 GB, free: 13.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008337/0.3146, allocations: 420.7 kB / 0.6217 GB, free: 12.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006542/0.3153, allocations: 331.5 kB / 0.622 GB, free: 12.28 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002962/0.3183, allocations: 4.186 MB / 0.6261 GB, free: 7.926 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004353/0.3187, allocations: 43.94 kB / 0.6262 GB, free: 7.883 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.3188, allocations: 88.83 kB / 0.6263 GB, free: 7.797 MB / 0.573 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.000567/0.3194, allocations: 212.3 kB / 0.6265 GB, free: 7.578 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.3197, allocations: 199.8 kB / 0.6267 GB, free: 7.383 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002647/0.3223, allocations: 2.667 MB / 0.6293 GB, free: 4.68 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/0.3223, allocations: 19.94 kB / 0.6293 GB, free: 4.66 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3223, allocations: 8 kB / 0.6293 GB, free: 4.652 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.3223, allocations: 7.969 kB / 0.6293 GB, free: 4.645 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003343/0.3257, allocations: 2.998 MB / 0.6322 GB, free: 1.551 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3257, allocations: 0 / 0.6322 GB, free: 1.551 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005162/0.3262, allocations: 251.7 kB / 0.6325 GB, free: 1.305 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008513/0.3271, allocations: 481.3 kB / 0.6329 GB, free: 0.8281 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.209e-05/0.3271, allocations: 63.94 kB / 0.633 GB, free: 0.7656 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003161/0.3303, allocations: 4.199 MB / 0.6371 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3303, allocations: 4 kB / 0.6371 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.3323, allocations: 1.867 MB / 0.6389 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004163/0.3327, allocations: 302.3 kB / 0.6392 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001791/0.3329, allocations: 47.92 kB / 0.6392 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.3333, allocations: 31.94 kB / 0.6393 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.3335, allocations: 153.7 kB / 0.6394 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.99e-05/0.3336, allocations: 71.95 kB / 0.6395 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005379/0.3341, allocations: 0.7754 MB / 0.6402 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1e-07/0.3341, allocations: 0 / 0.6402 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001364/0.3355, allocations: 0.8159 MB / 0.641 GB, free: 8.266 MB / 0.5886 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 (146): * Single equations (assignments): 134 * 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.0005177/0.336, allocations: 390.2 kB / 0.6414 GB, free: 7.875 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.3375, allocations: 1.499 MB / 0.6429 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/0.3376, allocations: 20 kB / 0.6429 GB, free: 6.332 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3386, allocations: 1.08 MB / 0.644 GB, free: 5.223 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.3407, allocations: 1.093 MB / 0.645 GB, free: 4.184 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.3454, allocations: 4.255 MB / 0.6492 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3458, allocations: 0.5107 MB / 0.6497 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001152/0.3469, allocations: 0.895 MB / 0.6505 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001424/0.3484, allocations: 0.7606 MB / 0.6513 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.3484, allocations: 0 / 0.6513 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.2109/0.5592, allocations: 56.88 MB / 0.7068 GB, free: 81.26 MB / 0.6042 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestJunctionNM_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestJunctionNM_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.643399845808744]