Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.0009222/0.0009222, allocations: 80.94 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.0009614/0.0009614, allocations: 177.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 1.011/1.011, allocations: 177.2 MB / 203.8 MB, free: 5.484 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.7062/0.7062, allocations: 118.6 MB / 378.9 MB, free: 1.34 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.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology") translateModel(ThermofluidStream.Topology.Tests.TestDynamicTopology,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 430.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.487e-05, allocations: 2.312 kB / 430.9 MB, free: 13.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 0.3406/0.3406, allocations: 164.6 MB / 0.5815 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.3529, allocations: 7.526 MB / 0.5889 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003659/0.3566, allocations: 344.9 kB / 0.5892 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002749/0.3594, allocations: 0.9557 MB / 0.5901 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.009191/0.3685, allocations: 4.378 MB / 0.5944 GB, free: 9.25 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004583/0.3731, allocations: 1.727 MB / 0.5961 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01151/0.3846, allocations: 10.37 MB / 0.6062 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.3871, allocations: 1.501 MB / 0.6077 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.3974, allocations: 5.665 MB / 0.6132 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005705/0.4031, allocations: 3.498 MB / 0.6166 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.001849/0.405, allocations: 0.6016 MB / 0.6172 GB, free: 1.715 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006141/0.4111, allocations: 2.282 MB / 0.6194 GB, free: 15.43 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.00245/0.4135, allocations: 2.13 MB / 0.6215 GB, free: 13.29 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.004604/0.4181, allocations: 2.409 MB / 0.6239 GB, free: 10.88 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.009614/0.4278, allocations: 7.144 MB / 0.6309 GB, free: 3.711 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4278, allocations: 0 / 0.6309 GB, free: 3.711 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4278, allocations: 0 / 0.6309 GB, free: 3.711 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002217/0.428, allocations: 0 / 0.6309 GB, free: 3.711 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.01136/0.4393, allocations: 7.779 MB / 0.6385 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4394, allocations: 8.031 kB / 0.6385 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.4409, allocations: 0.9299 MB / 0.6394 GB, free: 10.92 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006052/0.447, allocations: 3.796 MB / 0.6431 GB, free: 7.012 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001829/0.4471, allocations: 324.7 kB / 0.6434 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009358/0.4481, allocations: 451.8 kB / 0.6438 GB, free: 6.25 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005423/0.4535, allocations: 3.552 MB / 0.6473 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.93e-05/0.4536, allocations: 4 kB / 0.6473 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/0.4538, allocations: 181.5 kB / 0.6475 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003695/0.4542, allocations: 412.8 kB / 0.6479 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003192/0.4574, allocations: 2.108 MB / 0.6499 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02031/0.4777, allocations: 12.78 MB / 0.6624 GB, free: 2.812 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.4801, allocations: 1.879 MB / 0.6642 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2594/0.7395, allocations: 1.04 MB / 0.6652 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009683/0.7405, allocations: 254.6 kB / 0.6655 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.049e-05/0.7406, allocations: 83.11 kB / 0.6656 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=476): time 1.577e-05/0.7406, allocations: 0.5 kB / 0.6656 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=480): time 0.01552/0.7561, allocations: 7.53 MB / 0.6729 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.7561, allocations: 126 kB / 0.673 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.7585, allocations: 2.669 MB / 0.6756 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002969/0.7588, allocations: 106 kB / 0.6757 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007061/0.7595, allocations: 1.482 MB / 0.6772 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008043/0.7603, allocations: 1.687 MB / 0.6788 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008046/0.7611, allocations: 0.7133 MB / 0.6795 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.143e-05/0.7611, allocations: 301.9 kB / 0.6798 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009617/0.7621, allocations: 0.6569 MB / 0.6805 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/0.7631, allocations: 0.9388 MB / 0.6814 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/0.7654, allocations: 2.17 MB / 0.6835 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.7654, allocations: 1.062 kB / 0.6835 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.003827/0.7692, allocations: 2.785 MB / 0.6862 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.7692, allocations: 2.906 kB / 0.6862 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7693, allocations: 6.719 kB / 0.6862 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003244/0.7725, allocations: 1.262 MB / 0.6875 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.7742, allocations: 0.7874 MB / 0.6882 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005302/0.7795, allocations: 7.936 MB / 0.696 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.7813, allocations: 90.16 kB / 0.6961 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003615/0.7816, allocations: 214.5 kB / 0.6963 GB, free: 56.14 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), (2,4), (2,4), (1,5), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001347/0.783, allocations: 313.4 kB / 0.6966 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007327/0.7837, allocations: 452.5 kB / 0.697 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006537/0.7903, allocations: 6.181 MB / 0.703 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-05/0.7903, allocations: 46.38 kB / 0.7031 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.68e-05/0.7903, allocations: 11.69 kB / 0.7031 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/0.7904, allocations: 23.34 kB / 0.7031 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009846/0.8002, allocations: 6.768 MB / 0.7097 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.8002, allocations: 3.844 kB / 0.7097 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001383/0.8016, allocations: 0.7108 MB / 0.7104 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/0.8047, allocations: 1.392 MB / 0.7118 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003411/0.8051, allocations: 156.5 kB / 0.7119 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005086/0.8102, allocations: 7.958 MB / 0.7197 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8102, allocations: 3.156 kB / 0.7197 GB, free: 49.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006201/0.8164, allocations: 4.306 MB / 0.7239 GB, free: 48.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/0.8181, allocations: 0.7305 MB / 0.7246 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005005/0.8186, allocations: 94.52 kB / 0.7247 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.8198, allocations: 83.92 kB / 0.7248 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000549/0.8203, allocations: 354.8 kB / 0.7251 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003646/0.8207, allocations: 200.1 kB / 0.7253 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001479/0.8222, allocations: 1.501 MB / 0.7268 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8222, allocations: 2.266 kB / 0.7268 GB, free: 48.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003434/0.8256, allocations: 1.607 MB / 0.7284 GB, free: 48.09 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.0009893/0.8266, allocations: 456.7 kB / 0.7288 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004805/0.8314, allocations: 3.076 MB / 0.7318 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.621e-05/0.8314, allocations: 37.25 kB / 0.7318 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002742/0.8342, allocations: 2.128 MB / 0.7339 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006087/0.8403, allocations: 2.253 MB / 0.7361 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/0.8532, allocations: 9.645 MB / 0.7455 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/0.8542, allocations: 1.146 MB / 0.7467 GB, free: 36.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004077/0.8582, allocations: 2.166 MB / 0.7488 GB, free: 34.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003107/0.8614, allocations: 1.506 MB / 0.7502 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of SimCode: time 1.734e-06/0.8614, allocations: 1.203 kB / 0.7502 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of Templates: time 0.1405/1.002, allocations: 112.8 MB / 0.8604 GB, free: 3.676 MB / 0.6823 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.sim & ./ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_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: 7.098744201939553]