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.00182/0.00182, allocations: 79.19 kB / 19.76 MB, free: 2.031 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.002238/0.002238, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.341/1.341, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 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.7162/0.7162, allocations: 79.61 MB / 339.4 MB, free: 10.95 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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: 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.002444/0.002444, allocations: 85 kB / 0.4924 GB, free: 26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1104, allocations: 74.59 MB / 0.5652 GB, free: 5.961 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.193/1.303, allocations: 0.4945 GB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.04404/1.347, allocations: 43.97 MB / 1.103 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00428/1.352, allocations: 314.3 kB / 1.103 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.007882/1.36, allocations: 3.454 MB / 1.106 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.04272/1.402, allocations: 18.9 MB / 1.125 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.01618/1.419, allocations: 6.6 MB / 1.131 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.43, allocations: 9.306 MB / 1.14 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002297/1.432, allocations: 1.341 MB / 1.142 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008883/1.441, allocations: 4.867 MB / 1.146 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007064/1.448, allocations: 3.819 MB / 1.15 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001992/1.45, allocations: 0.6018 MB / 1.151 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05592/1.506, allocations: 29.55 MB / 1.18 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003339/1.509, allocations: 1.961 MB / 1.181 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.005274/1.514, allocations: 2.689 MB / 1.184 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.05275/1.567, allocations: 22.07 MB / 1.206 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.567, allocations: 8 kB / 1.206 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.773e-06/1.567, allocations: 0 / 1.206 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0002248/1.567, allocations: 0 / 1.206 GB, free: 2.531 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.02543/1.593, allocations: 10.25 MB / 1.216 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.593, allocations: 13.47 kB / 1.216 GB, free: 8.348 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002967/1.596, allocations: 0.7475 MB / 1.216 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009832/1.606, allocations: 4.337 MB / 1.221 GB, free: 3.297 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/1.606, allocations: 322.5 kB / 1.221 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/1.607, allocations: 454.9 kB / 1.221 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/1.623, allocations: 7.414 MB / 1.229 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/1.623, allocations: 3.938 kB / 1.229 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007521/1.623, allocations: 174.2 kB / 1.229 GB, free: 10.93 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005949/1.624, allocations: 416.8 kB / 1.229 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/1.64, allocations: 8.415 MB / 1.237 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04368/1.684, allocations: 18.71 MB / 1.256 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008276/1.692, allocations: 3.964 MB / 1.26 GB, free: 11.52 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005951/1.698, allocations: 3.161 MB / 1.263 GB, free: 8.352 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003537/1.701, allocations: 1.08 MB / 1.264 GB, free: 7.277 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001006/1.702, allocations: 78.56 kB / 1.264 GB, free: 7.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=476): time 1.321e-05/1.702, allocations: 0 / 1.264 GB, free: 7.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=480): time 0.04774/1.749, allocations: 19.34 MB / 1.283 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.749, allocations: 133.1 kB / 1.283 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/1.754, allocations: 2.929 MB / 1.286 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0008294/1.755, allocations: 103.2 kB / 1.286 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001961/1.757, allocations: 2.131 MB / 1.288 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.002124/1.759, allocations: 1.684 MB / 1.289 GB, free: 12.92 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002233/1.761, allocations: 0.7404 MB / 1.29 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001329/1.762, allocations: 305.1 kB / 1.29 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004662/1.766, allocations: 2.557 MB / 1.293 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005298/1.772, allocations: 2.815 MB / 1.296 GB, free: 6.512 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/1.782, allocations: 5.789 MB / 1.301 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/1.782, allocations: 4 kB / 1.301 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=492) (initialization): time 0.01658/1.799, allocations: 7.327 MB / 1.309 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/1.799, allocations: 11.98 kB / 1.309 GB, free: 9.352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.789e-05/1.799, allocations: 3.938 kB / 1.309 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007257/1.806, allocations: 1.742 MB / 1.31 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/1.81, allocations: 0.7099 MB / 1.311 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/1.826, allocations: 11.79 MB / 1.322 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/1.829, allocations: 107.7 kB / 1.323 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001208/1.83, allocations: 262.6 kB / 1.323 GB, free: 10.41 MB / 0.9825 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.003565/1.834, allocations: 1.277 MB / 1.324 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001901/1.836, allocations: 469 kB / 1.324 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02415/1.86, allocations: 10.97 MB / 1.335 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001907/1.86, allocations: 48 kB / 1.335 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.193e-05/1.86, allocations: 12 kB / 1.335 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001277/1.86, allocations: 23.91 kB / 1.335 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03149/1.892, allocations: 13.63 MB / 1.349 GB, free: 100 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/1.892, allocations: 4 kB / 1.349 GB, free: 96 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/1.895, allocations: 0.6674 MB / 1.349 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007373/1.902, allocations: 1.778 MB / 1.351 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001015/1.903, allocations: 179.6 kB / 1.351 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01613/1.919, allocations: 11.8 MB / 1.363 GB, free: 1.332 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.919, allocations: 7.922 kB / 1.363 GB, free: 1.324 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02453/1.944, allocations: 11.67 MB / 1.374 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.945, allocations: 409 kB / 1.374 GB, free: 5.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001324/1.946, allocations: 93.56 kB / 1.375 GB, free: 5.109 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/1.949, allocations: 112.1 kB / 1.375 GB, free: 5.004 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/1.95, allocations: 379 kB / 1.375 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009664/1.951, allocations: 251.9 kB / 1.375 GB, free: 4.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00383/1.955, allocations: 2.08 MB / 1.377 GB, free: 2.297 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/1.955, allocations: 0 / 1.377 GB, free: 2.297 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.01054/1.966, allocations: 3.492 MB / 1.381 GB, free: 14.81 MB / 1.045 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.01057/1.976, allocations: 3.963 MB / 1.385 GB, free: 11.13 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01409/1.99, allocations: 6.761 MB / 1.391 GB, free: 4.352 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/1.99, allocations: 4 kB / 1.391 GB, free: 4.348 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0082/1.999, allocations: 3.859 MB / 1.395 GB, free: 492 kB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2594/2.258, allocations: 1.511 MB / 1.396 GB, free: 0.5327 GB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/2.277, allocations: 11.5 MB / 1.408 GB, free: 0.5296 GB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00392/2.281, allocations: 2.822 MB / 1.41 GB, free: 0.5293 GB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.006104/2.287, allocations: 2.856 MB / 1.413 GB, free: 0.5291 GB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/2.289, allocations: 491.4 kB / 1.414 GB, free: 0.5291 GB / 1.045 GB Notification: Performance of SimCode: time 1.152e-06/2.289, allocations: 0 / 1.414 GB, free: 0.5291 GB / 1.045 GB Notification: Performance of Templates: time 0.165/2.454, allocations: 143.6 MB / 1.554 GB, free: 422 MB / 1.045 GB " [Timeout remaining time 658] 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=1200 -s ida -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Topology.Tests.TestDynamicTopology.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 14.046636898070574]