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.0009361/0.0009361, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0009113/0.0009113, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8913/0.8913, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.5309/0.5309, allocations: 80.19 MB / 340.1 MB, free: 7.547 MB / 314.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.4936 GB, free: 6.328 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.795e-05, allocations: 6.281 kB / 0.4936 GB, free: 6.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Topology.Tests.TestDynamicTopology): time 1.064/1.064, allocations: 0.5142 GB / 1.008 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02215/1.087, allocations: 25.25 MB / 1.032 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0043/1.091, allocations: 324.6 kB / 1.033 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00646/1.097, allocations: 3.554 MB / 1.036 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.03767/1.135, allocations: 19.59 MB / 1.055 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01275/1.148, allocations: 6.744 MB / 1.062 GB, free: 4.16 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01071/1.158, allocations: 10.23 MB / 1.072 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/1.16, allocations: 1.42 MB / 1.073 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00895/1.169, allocations: 6.538 MB / 1.08 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004552/1.174, allocations: 3.553 MB / 1.083 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.001225/1.175, allocations: 0.6016 MB / 1.084 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.046/1.221, allocations: 29.81 MB / 1.113 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002487/1.224, allocations: 2.087 MB / 1.115 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.004038/1.228, allocations: 2.387 MB / 1.117 GB, free: 4.836 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.04599/1.274, allocations: 24.5 MB / 1.141 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/1.274, allocations: 0 / 1.141 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.953e-06/1.274, allocations: 0 / 1.141 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002282/1.274, allocations: 0 / 1.141 GB, free: 14.08 MB / 0.8073 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.01607/1.29, allocations: 10.34 MB / 1.151 GB, free: 3.824 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/1.29, allocations: 13.47 kB / 1.151 GB, free: 3.812 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/1.292, allocations: 0.769 MB / 1.152 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005944/1.298, allocations: 4.415 MB / 1.156 GB, free: 14.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/1.298, allocations: 323.8 kB / 1.157 GB, free: 14.45 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004472/1.298, allocations: 455.3 kB / 1.157 GB, free: 14.01 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007623/1.306, allocations: 7.505 MB / 1.164 GB, free: 6.438 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.592e-05/1.306, allocations: 1.875 kB / 1.164 GB, free: 6.438 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002795/1.306, allocations: 183.2 kB / 1.165 GB, free: 6.27 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002886/1.306, allocations: 416.8 kB / 1.165 GB, free: 5.855 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007724/1.314, allocations: 8.44 MB / 1.173 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/1.336, allocations: 19.71 MB / 1.193 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004775/1.341, allocations: 3.964 MB / 1.196 GB, free: 6.004 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002992/1.344, allocations: 3.157 MB / 1.199 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001974/1.346, allocations: 1.069 MB / 1.201 GB, free: 1.773 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.884e-05/1.346, allocations: 90.12 kB / 1.201 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=476): time 8.256e-06/1.346, allocations: 4 kB / 1.201 GB, free: 1.676 MB / 0.8542 GB Notification: Performance of matching and sorting (n=480): time 0.02488/1.371, allocations: 19.41 MB / 1.22 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/1.371, allocations: 129.1 kB / 1.22 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/1.374, allocations: 3.059 MB / 1.223 GB, free: 11.06 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002632/1.374, allocations: 104 kB / 1.223 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/1.375, allocations: 2.199 MB / 1.225 GB, free: 8.742 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/1.377, allocations: 1.675 MB / 1.227 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009219/1.377, allocations: 0.7579 MB / 1.227 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.857e-05/1.378, allocations: 305.1 kB / 1.228 GB, free: 6.043 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002675/1.38, allocations: 2.565 MB / 1.23 GB, free: 3.477 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/1.383, allocations: 2.875 MB / 1.233 GB, free: 0.5703 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006292/1.39, allocations: 5.876 MB / 1.239 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/1.39, allocations: 4 kB / 1.239 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of matching and sorting (n=502) (initialization): time 0.008802/1.399, allocations: 7.415 MB / 1.246 GB, free: 3.277 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.399, allocations: 12 kB / 1.246 GB, free: 3.266 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/1.399, allocations: 7.938 kB / 1.246 GB, free: 3.258 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003594/1.402, allocations: 1.742 MB / 1.248 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/1.404, allocations: 0.7285 MB / 1.248 GB, free: 0.8047 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009426/1.413, allocations: 11.77 MB / 1.26 GB, free: 4.746 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/1.415, allocations: 112.8 kB / 1.26 GB, free: 4.641 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004665/1.416, allocations: 270.5 kB / 1.26 GB, free: 4.379 MB / 0.9167 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.002132/1.418, allocations: 1.292 MB / 1.261 GB, free: 3.125 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/1.419, allocations: 492.9 kB / 1.262 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2618/1.68, allocations: 10.96 MB / 1.273 GB, free: 486.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/1.681, allocations: 51.31 kB / 1.273 GB, free: 486.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.921e-05/1.681, allocations: 10.06 kB / 1.273 GB, free: 486.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.802e-05/1.681, allocations: 23.14 kB / 1.273 GB, free: 486.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/1.696, allocations: 13.69 MB / 1.286 GB, free: 480.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.696, allocations: 6.172 kB / 1.286 GB, free: 480.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/1.698, allocations: 0.6725 MB / 1.287 GB, free: 480.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/1.701, allocations: 1.778 MB / 1.288 GB, free: 480.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002348/1.701, allocations: 175.4 kB / 1.289 GB, free: 480 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007574/1.709, allocations: 11.8 MB / 1.3 GB, free: 471.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/1.709, allocations: 1.719 kB / 1.3 GB, free: 471.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01072/1.719, allocations: 11.69 MB / 1.312 GB, free: 466.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006115/1.72, allocations: 423.9 kB / 1.312 GB, free: 466.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003374/1.72, allocations: 94 kB / 1.312 GB, free: 466.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/1.721, allocations: 116.7 kB / 1.312 GB, free: 466.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/1.722, allocations: 370.6 kB / 1.313 GB, free: 466.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003329/1.722, allocations: 253.5 kB / 1.313 GB, free: 466.5 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001791/1.724, allocations: 2.154 MB / 1.315 GB, free: 465.6 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.21e-07/1.724, allocations: 0 / 1.315 GB, free: 465.6 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005594/1.729, allocations: 3.59 MB / 1.318 GB, free: 463.4 MB / 0.9167 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.004807/1.734, allocations: 4.186 MB / 1.322 GB, free: 460.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005911/1.74, allocations: 6.747 MB / 1.329 GB, free: 453.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.74, allocations: 0 / 1.329 GB, free: 453.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003259/1.743, allocations: 3.877 MB / 1.333 GB, free: 449.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004412/1.748, allocations: 2.154 MB / 1.335 GB, free: 447.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/1.76, allocations: 12.3 MB / 1.347 GB, free: 435.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/1.761, allocations: 2.841 MB / 1.35 GB, free: 432.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.762, allocations: 0.5705 MB / 1.35 GB, free: 432.3 MB / 0.9167 GB Notification: Performance of SimCode: time 7.31e-07/1.762, allocations: 0 / 1.35 GB, free: 432.3 MB / 0.9167 GB Notification: Performance of Templates: time 0.1562/1.919, allocations: 318 MB / 1.661 GB, free: 114.4 MB / 0.9167 GB " [Timeout remaining time 658] 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/jenkins/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: 20.55254756845534]