Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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.0008274/0.0008274, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007644/0.0007644, 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.8326/0.8326, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.5925/0.5925, allocations: 116 MB / 376 MB, free: 4.195 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") translateModel(ThermofluidStream.Undirected.Topology.Tests.TestConnectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore1.rear.m_flow|boundary_fore2.rear.m_flow|boundary_fore3.rear.m_flow|boundary_fore5.rear.m_flow|boundary_rear.fore.m_flow|connectRearOutlet.rear.m_flow|flowResistance2.rear.m_flow|pulse.T_start|pulse.count|sink3.inlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.5545 GB, free: 12.82 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.854e-05, allocations: 2.281 kB / 0.5545 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.3852/0.3853, allocations: 203.6 MB / 0.7534 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.4051, allocations: 25.26 MB / 0.778 GB, free: 8.473 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0019/0.407, allocations: 206.1 kB / 0.7782 GB, free: 8.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.4094, allocations: 1.602 MB / 0.7798 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0039/0.4133, allocations: 2.973 MB / 0.7827 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004251/0.4176, allocations: 2.727 MB / 0.7854 GB, free: 0.9258 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003344/0.4209, allocations: 5.348 MB / 0.7906 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009169/0.4218, allocations: 0.6239 MB / 0.7912 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.4248, allocations: 3.353 MB / 0.7945 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.4264, allocations: 2.12 MB / 0.7965 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.4266, allocations: 264 kB / 0.7968 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004062/0.4307, allocations: 3.216 MB / 0.7999 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.431, allocations: 0.6651 MB / 0.8006 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006965/0.4317, allocations: 1.115 MB / 0.8017 GB, free: 124 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004169/0.4359, allocations: 5.121 MB / 0.8067 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4359, allocations: 4 kB / 0.8067 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4359, allocations: 0 / 0.8067 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.208e-05/0.4359, allocations: 0 / 0.8067 GB, free: 10.98 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.003494/0.4394, allocations: 3.637 MB / 0.8102 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.4394, allocations: 12.03 kB / 0.8102 GB, free: 7.266 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005098/0.4399, allocations: 394.6 kB / 0.8106 GB, free: 6.879 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.4423, allocations: 1.975 MB / 0.8125 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.792e-05/0.4424, allocations: 156.2 kB / 0.8127 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.4426, allocations: 223.9 kB / 0.8129 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.445, allocations: 2.52 MB / 0.8154 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.445, allocations: 11.94 kB / 0.8154 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.4451, allocations: 80 kB / 0.8154 GB, free: 1.719 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.4451, allocations: 52 kB / 0.8155 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00232/0.4475, allocations: 2.267 MB / 0.8177 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006747/0.4542, allocations: 7.482 MB / 0.825 GB, free: 7.777 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/0.4564, allocations: 1.615 MB / 0.8266 GB, free: 6.148 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000869/0.4572, allocations: 0.8084 MB / 0.8274 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003475/0.4607, allocations: 2.953 MB / 0.8303 GB, free: 2.363 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.4618, allocations: 1.035 MB / 0.8313 GB, free: 1.309 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=183): time 3.075e-06/0.4618, allocations: 0 / 0.8313 GB, free: 1.309 MB / 0.6667 GB Notification: Performance of matching and sorting (n=184): time 0.00668/0.4685, allocations: 5.318 MB / 0.8365 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.4686, allocations: 107 kB / 0.8366 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.4697, allocations: 1.549 MB / 0.8381 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.4698, allocations: 53.7 kB / 0.8381 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005627/0.4704, allocations: 1.171 MB / 0.8393 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005522/0.4709, allocations: 0.6622 MB / 0.8399 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002996/0.4712, allocations: 291.5 kB / 0.8402 GB, free: 8.023 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.208e-05/0.4713, allocations: 309 kB / 0.8405 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008218/0.4721, allocations: 0.6928 MB / 0.8412 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009296/0.473, allocations: 0.8917 MB / 0.842 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.4748, allocations: 1.663 MB / 0.8437 GB, free: 4.352 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4749, allocations: 4 kB / 0.8437 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.003067/0.4779, allocations: 2.568 MB / 0.8462 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.478, allocations: 33.7 kB / 0.8462 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.478, allocations: 8.156 kB / 0.8462 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.479, allocations: 0.6124 MB / 0.8468 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008338/0.4798, allocations: 299.6 kB / 0.8471 GB, free: 0.7539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009683/0.4895, allocations: 14.96 MB / 0.8617 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/0.4901, allocations: 103.6 kB / 0.8618 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4902, allocations: 72.17 kB / 0.8619 GB, free: 0.6992 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(3,18,77.8%), (1,4,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006351/0.4908, allocations: 439.6 kB / 0.8623 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.4911, allocations: 258.4 kB / 0.8626 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00369/0.4948, allocations: 3.383 MB / 0.8659 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.4948, allocations: 27.94 kB / 0.8659 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4948, allocations: 12 kB / 0.8659 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/0.4948, allocations: 11.95 kB / 0.8659 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005006/0.4998, allocations: 4.521 MB / 0.8703 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.4998, allocations: 7.938 kB / 0.8703 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/0.5003, allocations: 279.6 kB / 0.8706 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/0.5012, allocations: 0.5421 MB / 0.8711 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.574e-05/0.5013, allocations: 63.97 kB / 0.8712 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007176/0.5084, allocations: 14.01 MB / 0.8849 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5084, allocations: 4.219 kB / 0.8849 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/0.5123, allocations: 3.631 MB / 0.8884 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007462/0.5131, allocations: 453.8 kB / 0.8889 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.5132, allocations: 51.94 kB / 0.8889 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.5137, allocations: 59.95 kB / 0.889 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002254/0.5139, allocations: 173.7 kB / 0.8891 GB, free: 3.711 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.649e-05/0.514, allocations: 67.97 kB / 0.8892 GB, free: 3.645 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008797/0.5149, allocations: 1.094 MB / 0.8903 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.5149, allocations: 0 / 0.8903 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001672/0.5165, allocations: 0.9288 MB / 0.8912 GB, free: 1.605 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 10 (connectRearRear.rear_a.m_flow,connectForeFore.fore_a.m_flow,connectInletFore.fore.m_flow,connectRearOutlet.rear.m_flow,sink1.inlet.m_flow,boundary_fore3.rear.m_flow,flowResistance.rear.m_flow,flowResistance2.rear.m_flow,flowResistance3.inlet.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,4,100.0%), (1,1,100.0%), (1,4,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,8,100.0%), (1,2,100.0%), (3,18,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009447/0.5175, allocations: 1.018 MB / 0.8922 GB, free: 0.5977 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002782/0.5203, allocations: 2.989 MB / 0.8951 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.5203, allocations: 0 / 0.8951 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.5222, allocations: 2.142 MB / 0.8972 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.5241, allocations: 0.8723 MB / 0.898 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005376/0.5295, allocations: 5.092 MB / 0.903 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007327/0.5302, allocations: 1.14 MB / 0.9041 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003705/0.5306, allocations: 224.4 kB / 0.9043 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/0.5306, allocations: 0 / 0.9043 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.2566/0.7872, allocations: 145.6 MB / 1.046 GB, free: 219 MB / 0.7761 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Topology.Tests.TestConnectors_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Topology.Tests.TestConnectors.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: 11.2415591198951]