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.001305/0.001305, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00134/0.00134, allocations: 219.5 kB / 23 MB, free: 4.914 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.7296/0.7296, allocations: 94.63 MB / 407.8 MB, free: 8.848 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/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_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_ThermofluidStream.Topology.Tests.TestDynamicTopology") [Timeout 660] "Notification: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 80.16 kB / 0.5562 GB, free: 38.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1203, allocations: 73.06 MB / 0.6275 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.274/1.394, allocations: 0.4944 GB / 1.122 GB, free: 320 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.04413/1.438, allocations: 43.94 MB / 1.165 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004416/1.443, allocations: 311.9 kB / 1.165 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.008029/1.451, allocations: 3.455 MB / 1.169 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.04471/1.496, allocations: 18.88 MB / 1.187 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01709/1.513, allocations: 6.602 MB / 1.193 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01058/1.523, allocations: 9.271 MB / 1.202 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/1.526, allocations: 1.339 MB / 1.204 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01046/1.536, allocations: 4.826 MB / 1.208 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006333/1.543, allocations: 3.822 MB / 1.212 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001217/1.544, allocations: 0.603 MB / 1.213 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05913/1.603, allocations: 29.56 MB / 1.242 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003539/1.606, allocations: 1.954 MB / 1.244 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.006078/1.613, allocations: 2.694 MB / 1.246 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.05483/1.667, allocations: 22.07 MB / 1.268 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.667, allocations: 0 / 1.268 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/1.667, allocations: 0 / 1.268 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002496/1.668, allocations: 4 kB / 1.268 GB, free: 10.98 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1158 * Number of variables: 1158 Notification: Performance of Generate backend data structure: time 0.02649/1.694, allocations: 10.25 MB / 1.278 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/1.694, allocations: 12.03 kB / 1.278 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002568/1.697, allocations: 0.7474 MB / 1.279 GB, free: 36 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009601/1.706, allocations: 4.326 MB / 1.283 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003017/1.707, allocations: 333.6 kB / 1.283 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/1.708, allocations: 456.6 kB / 1.284 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/1.721, allocations: 7.406 MB / 1.291 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.767e-05/1.722, allocations: 3.938 kB / 1.291 GB, free: 3.539 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/1.722, allocations: 176.2 kB / 1.291 GB, free: 3.379 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005414/1.723, allocations: 418.7 kB / 1.291 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0135/1.736, allocations: 8.413 MB / 1.3 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0394/1.775, allocations: 18.7 MB / 1.318 GB, free: 7.953 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00736/1.783, allocations: 3.946 MB / 1.322 GB, free: 3.996 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005331/1.788, allocations: 3.16 MB / 1.325 GB, free: 0.832 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003528/1.792, allocations: 1.074 MB / 1.326 GB, free: 15.76 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.389e-05/1.792, allocations: 82.56 kB / 1.326 GB, free: 15.67 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 1.168e-05/1.792, allocations: 0 / 1.326 GB, free: 15.67 MB / 0.92 GB Notification: Performance of matching and sorting (n=480): time 0.04058/1.832, allocations: 19.35 MB / 1.345 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/1.832, allocations: 129.1 kB / 1.345 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004369/1.837, allocations: 2.933 MB / 1.348 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0007156/1.838, allocations: 107.1 kB / 1.348 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.00185/1.839, allocations: 2.12 MB / 1.35 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/1.841, allocations: 1.685 MB / 1.352 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/1.843, allocations: 0.7408 MB / 1.352 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001524/1.843, allocations: 301.1 kB / 1.353 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004277/1.847, allocations: 2.549 MB / 1.355 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004911/1.852, allocations: 2.819 MB / 1.358 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009994/1.862, allocations: 5.781 MB / 1.363 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/1.862, allocations: 3.938 kB / 1.363 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.0141/1.876, allocations: 7.333 MB / 1.371 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/1.876, allocations: 7.938 kB / 1.371 GB, free: 1.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/1.876, allocations: 4 kB / 1.371 GB, free: 1.766 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006897/1.883, allocations: 1.746 MB / 1.372 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003126/1.886, allocations: 0.6983 MB / 1.373 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/1.902, allocations: 11.78 MB / 1.385 GB, free: 3.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/1.904, allocations: 120.9 kB / 1.385 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000847/1.905, allocations: 256.8 kB / 1.385 GB, free: 2.832 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (404): * Single equations (assignments): 367 * 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), (1,5), (1,5), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002919/1.908, allocations: 1.283 MB / 1.386 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001382/1.91, allocations: 469 kB / 1.387 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/1.929, allocations: 10.96 MB / 1.397 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001099/1.93, allocations: 44 kB / 1.397 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/1.93, allocations: 12 kB / 1.397 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.948e-05/1.93, allocations: 23.91 kB / 1.397 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02686/1.957, allocations: 13.62 MB / 1.411 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-05/1.957, allocations: 4 kB / 1.411 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/1.959, allocations: 0.667 MB / 1.411 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006881/1.966, allocations: 1.785 MB / 1.413 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007396/1.967, allocations: 169.9 kB / 1.413 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/1.983, allocations: 11.81 MB / 1.425 GB, free: 9.773 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.983, allocations: 11.88 kB / 1.425 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02151/2.004, allocations: 11.66 MB / 1.436 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001244/2.006, allocations: 416.8 kB / 1.437 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008244/2.007, allocations: 94.75 kB / 1.437 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/2.008, allocations: 110.3 kB / 1.437 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008162/2.009, allocations: 380.6 kB / 1.437 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005983/2.01, allocations: 258.5 kB / 1.437 GB, free: 12.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.003356/2.013, allocations: 2.076 MB / 1.439 GB, free: 10.74 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/2.013, allocations: 0 / 1.439 GB, free: 10.74 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.009787/2.023, allocations: 3.492 MB / 1.443 GB, free: 7.246 MB / 1.029 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 (390): * Single equations (assignments): 353 * 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), (2,4), (1,5), (2,4), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009119/2.032, allocations: 3.962 MB / 1.447 GB, free: 3.57 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.2733/2.305, allocations: 6.748 MB / 1.453 GB, free: 0.5279 GB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/2.305, allocations: 0 / 1.453 GB, free: 0.5279 GB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.009902/2.315, allocations: 3.881 MB / 1.457 GB, free: 0.5276 GB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009676/2.325, allocations: 1.507 MB / 1.459 GB, free: 0.5274 GB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/2.346, allocations: 11.69 MB / 1.47 GB, free: 0.5226 GB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/2.349, allocations: 2.794 MB / 1.473 GB, free: 0.522 GB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002196/2.351, allocations: 0.5503 MB / 1.473 GB, free: 0.5219 GB / 1.029 GB Notification: Performance of SimCode: time 8.42e-07/2.351, allocations: 0 / 1.473 GB, free: 0.5219 GB / 1.029 GB Notification: Performance of Templates: time 0.226/2.577, allocations: 309.9 MB / 1.776 GB, free: 243.4 MB / 1.029 GB " [Timeout remaining time 657] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Topology.Tests.TestDynamicTopology_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Topology.Tests.TestDynamicTopology.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: 27.34256695304066]