Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.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.001/0.001, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002391, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009688/0.0009688, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001248/0.002217, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9192/0.9192, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08613/1.005, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6661/0.6661, allocations: 118.7 MB / 362.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06054/0.7267, allocations: 35.84 MB / 398.7 MB, free: 13.09 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.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.TestDynamicTopology") translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="dynamicJunctionNM.dynamicJunctionN.junction.outlet.m_flow|dynamicJunctionNM1.dynamicJunctionN.junction.outlet.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.TestDynamicTopology") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.748e-05, allocations: 2.312 kB / 400 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 0.3793/0.3793, allocations: 165.1 MB / 0.5518 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.3919, allocations: 7.55 MB / 0.5592 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00257/0.3945, allocations: 340.9 kB / 0.5595 GB, free: 7.125 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.3958, allocations: 0.9633 MB / 0.5605 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.006194/0.402, allocations: 4.341 MB / 0.5647 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.4046, allocations: 1.726 MB / 0.5664 GB, free: 76 kB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.007795/0.4124, allocations: 10.38 MB / 0.5766 GB, free: 5.645 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001633/0.4141, allocations: 1.513 MB / 0.578 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006979/0.421, allocations: 6.102 MB / 0.584 GB, free: 13.87 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003848/0.4249, allocations: 3.498 MB / 0.5874 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0009301/0.4258, allocations: 0.6016 MB / 0.588 GB, free: 9.762 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003903/0.4297, allocations: 2.289 MB / 0.5902 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001391/0.4311, allocations: 1.788 MB / 0.592 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.002267/0.4334, allocations: 2.055 MB / 0.594 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.006719/0.4401, allocations: 6.642 MB / 0.6005 GB, free: 12.95 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 9.157e-06/0.4401, allocations: 0 / 0.6005 GB, free: 12.95 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4401, allocations: 4 kB / 0.6005 GB, free: 12.95 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.254e-05/0.4402, allocations: 0 / 0.6005 GB, free: 12.95 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1168 * Number of variables: 1168 Notification: Performance of Generate backend data structure: time 0.01228/0.4525, allocations: 9.303 MB / 0.6096 GB, free: 3.555 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.4525, allocations: 12.03 kB / 0.6096 GB, free: 3.543 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.4542, allocations: 0.9333 MB / 0.6105 GB, free: 2.609 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005666/0.4598, allocations: 3.8 MB / 0.6142 GB, free: 14.69 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002502/0.4601, allocations: 329.5 kB / 0.6145 GB, free: 14.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005578/0.4607, allocations: 447.8 kB / 0.6149 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005041/0.4657, allocations: 3.548 MB / 0.6184 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-05/0.4658, allocations: 0 / 0.6184 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/0.4661, allocations: 180 kB / 0.6186 GB, free: 10.09 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004013/0.4665, allocations: 408.8 kB / 0.619 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003554/0.47, allocations: 2.104 MB / 0.621 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01865/0.4887, allocations: 12.8 MB / 0.6335 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.491, allocations: 1.871 MB / 0.6353 GB, free: 8.605 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.492, allocations: 1.044 MB / 0.6364 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005487/0.4926, allocations: 256.4 kB / 0.6366 GB, free: 7.305 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.4926, allocations: 90.56 kB / 0.6367 GB, free: 7.207 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=476): time 6.473e-06/0.4926, allocations: 4 kB / 0.6367 GB, free: 7.203 MB / 0.6042 GB Notification: Performance of matching and sorting (n=480): time 0.2599/0.7526, allocations: 9.566 MB / 0.646 GB, free: 97.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.197e-05/0.7527, allocations: 127.4 kB / 0.6462 GB, free: 97.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/0.7561, allocations: 2.67 MB / 0.6488 GB, free: 97.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005603/0.7566, allocations: 106.8 kB / 0.6489 GB, free: 97.12 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009215/0.7576, allocations: 1.477 MB / 0.6503 GB, free: 96.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001054/0.7586, allocations: 1.684 MB / 0.652 GB, free: 95.98 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.7597, allocations: 0.7069 MB / 0.6526 GB, free: 95.96 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.7597, allocations: 308.3 kB / 0.6529 GB, free: 95.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.7608, allocations: 0.6623 MB / 0.6536 GB, free: 95.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.762, allocations: 0.9376 MB / 0.6545 GB, free: 95.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002682/0.7647, allocations: 2.177 MB / 0.6566 GB, free: 95.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-05/0.7647, allocations: 3.594 kB / 0.6566 GB, free: 95.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.003819/0.7685, allocations: 2.776 MB / 0.6593 GB, free: 95.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.7686, allocations: 5.281 kB / 0.6593 GB, free: 95.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/0.7686, allocations: 7.25 kB / 0.6594 GB, free: 95.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/0.7714, allocations: 1.26 MB / 0.6606 GB, free: 95.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.7731, allocations: 0.9089 MB / 0.6615 GB, free: 95.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004964/0.7781, allocations: 7.94 MB / 0.6692 GB, free: 89.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.7795, allocations: 85.7 kB / 0.6693 GB, free: 89.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003201/0.7798, allocations: 210.9 kB / 0.6695 GB, free: 89.73 MB / 0.6042 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 (414): * Single equations (assignments): 377 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(1,5), (1,5), (1,5), (1,5), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009999/0.7808, allocations: 311.3 kB / 0.6698 GB, free: 89.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005295/0.7813, allocations: 458.2 kB / 0.6702 GB, free: 89.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/0.7873, allocations: 6.184 MB / 0.6763 GB, free: 89.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-05/0.7874, allocations: 47.34 kB / 0.6763 GB, free: 89.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/0.7874, allocations: 12.84 kB / 0.6763 GB, free: 89.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.7874, allocations: 31.41 kB / 0.6764 GB, free: 89.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008574/0.796, allocations: 6.769 MB / 0.683 GB, free: 88.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.796, allocations: 5 kB / 0.683 GB, free: 88.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.7975, allocations: 0.8195 MB / 0.6838 GB, free: 88.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/0.7986, allocations: 0.7315 MB / 0.6845 GB, free: 87.85 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002968/0.8016, allocations: 1.369 MB / 0.6858 GB, free: 87.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002141/0.8018, allocations: 162.5 kB / 0.686 GB, free: 87.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.8063, allocations: 7.964 MB / 0.6938 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.8063, allocations: 5 kB / 0.6938 GB, free: 82.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004526/0.8108, allocations: 4.337 MB / 0.698 GB, free: 81.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.8112, allocations: 97.05 kB / 0.6981 GB, free: 81.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008805/0.812, allocations: 80.44 kB / 0.6982 GB, free: 81.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004189/0.8125, allocations: 355.2 kB / 0.6985 GB, free: 81.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002502/0.8127, allocations: 205.1 kB / 0.6987 GB, free: 81.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001015/0.8137, allocations: 1.505 MB / 0.7002 GB, free: 81.63 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8137, allocations: 4.688 kB / 0.7002 GB, free: 81.63 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002617/0.8163, allocations: 1.607 MB / 0.7018 GB, free: 81.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (dynamicJunctionNM1.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow3.inlet.m_flow,dynamicPressureOutflow4.inlet.m_flow,dynamicPressureOutflow5.inlet.m_flow,dynamicJunctionNM.dynamicSplitterN.nozzle_in.inlet.m_flow,dynamicPressureInflow1.inlet.m_flow,dynamicPressureOutflow1.inlet.m_flow,dynamicPressureOutflow2.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 (387): * Single equations (assignments): 350 * Array equations: 30 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,26,68.0%), (5,26,68.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,4), (1,5), (2,4), (1,5), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006785/0.817, allocations: 470.5 kB / 0.7022 GB, free: 81.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003151/0.8202, allocations: 3.067 MB / 0.7052 GB, free: 80 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.579e-05/0.8202, allocations: 82.88 kB / 0.7053 GB, free: 79.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002366/0.8226, allocations: 2.425 MB / 0.7076 GB, free: 77.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006168/0.8288, allocations: 11.19 MB / 0.7186 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0524/0.8812, allocations: 10 MB / 0.7283 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009183/0.8821, allocations: 1.169 MB / 0.7295 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004025/0.8861, allocations: 2.159 MB / 0.7316 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002755/0.8889, allocations: 1.514 MB / 0.7331 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of SimCode: time 2.195e-06/0.8889, allocations: 0 / 0.7331 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.1215/1.01, allocations: 117.5 MB / 0.8478 GB, free: 0.5938 MB / 0.6667 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & ./ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.083023387938738]