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.001404/0.001404, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.001575/0.001575, allocations: 168.2 kB / 22.46 MB, free: 5.359 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.469/1.469, allocations: 177.1 MB / 202.8 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] 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.9921/0.9921, allocations: 116 MB / 375.2 MB, free: 7.551 MB / 350.1 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 2.124e-06/2.124e-06, allocations: 3.938 kB / 0.5538 GB, free: 13.8 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.446e-05, allocations: 7.375 kB / 0.5538 GB, free: 13.8 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Topology.Tests.TestConnectors): time 0.5514/0.5515, allocations: 203.6 MB / 0.7526 GB, free: 5.246 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02761/0.5791, allocations: 25.26 MB / 0.7773 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003705/0.5828, allocations: 209.2 kB / 0.7775 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.005226/0.588, allocations: 1.602 MB / 0.779 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009434/0.5974, allocations: 2.975 MB / 0.7819 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008722/0.6062, allocations: 2.719 MB / 0.7846 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008133/0.6143, allocations: 5.352 MB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.6165, allocations: 0.6221 MB / 0.7904 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00927/0.6257, allocations: 3.357 MB / 0.7937 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004691/0.6304, allocations: 2.117 MB / 0.7958 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002449/0.6329, allocations: 267.2 kB / 0.796 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01113/0.644, allocations: 3.213 MB / 0.7992 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001359/0.6454, allocations: 0.6535 MB / 0.7998 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003393/0.6488, allocations: 1.118 MB / 0.8009 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.6613, allocations: 5.122 MB / 0.8059 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.6614, allocations: 0 / 0.8059 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6614, allocations: 4 kB / 0.8059 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001526/0.6615, allocations: 4 kB / 0.8059 GB, free: 10.54 MB / 0.6231 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.009091/0.6706, allocations: 3.635 MB / 0.8095 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.6707, allocations: 12.03 kB / 0.8095 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.6721, allocations: 398.6 kB / 0.8099 GB, free: 6.441 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004916/0.6771, allocations: 1.987 MB / 0.8118 GB, free: 4.426 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.6772, allocations: 152.2 kB / 0.8119 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000619/0.6779, allocations: 223.9 kB / 0.8122 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006132/0.684, allocations: 2.512 MB / 0.8146 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.501e-05/0.6841, allocations: 2.625 kB / 0.8146 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003174/0.6844, allocations: 88 kB / 0.8147 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.6844, allocations: 52 kB / 0.8147 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00498/0.6894, allocations: 2.271 MB / 0.817 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01713/0.7065, allocations: 7.488 MB / 0.8243 GB, free: 7.516 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.7106, allocations: 1.609 MB / 0.8258 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/0.7125, allocations: 0.8052 MB / 0.8266 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008038/0.7205, allocations: 2.958 MB / 0.8295 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002272/0.7228, allocations: 1.038 MB / 0.8305 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=183): time 5.871e-06/0.7228, allocations: 0 / 0.8305 GB, free: 1.062 MB / 0.6387 GB Notification: Performance of matching and sorting (n=184): time 0.01458/0.7374, allocations: 5.312 MB / 0.8357 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.08e-05/0.7374, allocations: 99.11 kB / 0.8358 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.7399, allocations: 1.549 MB / 0.8373 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002906/0.7402, allocations: 57.64 kB / 0.8374 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001142/0.7413, allocations: 1.175 MB / 0.8385 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008523/0.7421, allocations: 0.6505 MB / 0.8392 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007697/0.7429, allocations: 295.6 kB / 0.8394 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.743, allocations: 305.1 kB / 0.8397 GB, free: 7.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.7446, allocations: 0.6951 MB / 0.8404 GB, free: 6.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/0.7465, allocations: 0.8878 MB / 0.8413 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003559/0.75, allocations: 1.674 MB / 0.8429 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.75, allocations: 4 kB / 0.8429 GB, free: 4.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006357/0.7564, allocations: 2.563 MB / 0.8454 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.7565, allocations: 41.69 kB / 0.8455 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.7565, allocations: 4 kB / 0.8455 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/0.7588, allocations: 0.6098 MB / 0.8461 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.7601, allocations: 299.1 kB / 0.8464 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01982/0.7799, allocations: 14.98 MB / 0.861 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.7814, allocations: 95.56 kB / 0.8611 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003858/0.7818, allocations: 79.97 kB / 0.8611 GB, free: 0.6406 MB / 0.67 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.001295/0.7831, allocations: 435.1 kB / 0.8616 GB, free: 228 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008121/0.7839, allocations: 254.4 kB / 0.8618 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007773/0.7917, allocations: 3.39 MB / 0.8651 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.882e-05/0.7917, allocations: 23.94 kB / 0.8651 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.981e-05/0.7917, allocations: 8 kB / 0.8651 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.863e-05/0.7918, allocations: 7.969 kB / 0.8652 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01025/0.802, allocations: 4.532 MB / 0.8696 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.802, allocations: 4 kB / 0.8696 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.8032, allocations: 272.6 kB / 0.8698 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002036/0.8053, allocations: 0.5431 MB / 0.8704 GB, free: 7.176 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/0.8055, allocations: 67.95 kB / 0.8704 GB, free: 7.109 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01518/0.8207, allocations: 14.01 MB / 0.8841 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.8207, allocations: 4.031 kB / 0.8841 GB, free: 8.254 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008677/0.8294, allocations: 3.636 MB / 0.8877 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001235/0.8306, allocations: 442 kB / 0.8881 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005196/0.8311, allocations: 55.83 kB / 0.8882 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.8324, allocations: 63.89 kB / 0.8882 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004982/0.8329, allocations: 176.9 kB / 0.8884 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/0.8331, allocations: 71.95 kB / 0.8885 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002011/0.8351, allocations: 1.09 MB / 0.8895 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.8351, allocations: 3.094 kB / 0.8895 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003344/0.8385, allocations: 0.9249 MB / 0.8904 GB, free: 1.762 MB / 0.7012 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.00208/0.8406, allocations: 1.015 MB / 0.8914 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006305/0.8469, allocations: 2.99 MB / 0.8943 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.8469, allocations: 0 / 0.8943 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.004231/0.8511, allocations: 2.152 MB / 0.8964 GB, free: 11.44 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005393/0.8565, allocations: 0.8743 MB / 0.8973 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01286/0.8694, allocations: 5.03 MB / 0.9022 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001908/0.8713, allocations: 1.14 MB / 0.9033 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002243/0.8735, allocations: 497.7 kB / 0.9038 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008125/0.8743, allocations: 212.4 kB / 0.904 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of SimCode: time 1.263e-06/0.8743, allocations: 0 / 0.904 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of Templates: time 0.09895/0.9733, allocations: 52.9 MB / 0.9556 GB, free: 15.71 MB / 0.7794 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: 8.607909049838781]