Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.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.001841/0.001841, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002311/0.002311, allocations: 165.5 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.404/1.404, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.7381/0.7381, allocations: 80.2 MB / 339.4 MB, free: 10.89 MB / 318.1 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.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|sawTooth.T_start|sawTooth.count|sawTooth1.T_start|sawTooth1.count|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.inlet.m_flow|transportDelay1.x",fileNamePrefix="ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.4929 GB, free: 25.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.782e-05, allocations: 8.656 kB / 0.4929 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.1875/0.1875, allocations: 168.7 MB / 0.6576 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00485/0.1924, allocations: 2.96 MB / 0.6605 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004732/0.1929, allocations: 51.5 kB / 0.6606 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.1938, allocations: 345.4 kB / 0.6609 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003562/0.1973, allocations: 1.449 MB / 0.6623 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.199, allocations: 0.6887 MB / 0.663 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004254/0.2033, allocations: 2.709 MB / 0.6656 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.2036, allocations: 133.8 kB / 0.6658 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003589/0.2072, allocations: 2 MB / 0.6677 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009085/0.2081, allocations: 0.5221 MB / 0.6682 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.2082, allocations: 60 kB / 0.6683 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.2104, allocations: 1.002 MB / 0.6693 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.2106, allocations: 155.2 kB / 0.6694 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.211, allocations: 295.2 kB / 0.6697 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.2134, allocations: 1.597 MB / 0.6712 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2134, allocations: 0 / 0.6712 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.213e-06/0.2134, allocations: 0 / 0.6712 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.2134, allocations: 4 kB / 0.6712 GB, free: 8.32 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002884/0.2163, allocations: 1.346 MB / 0.6726 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2164, allocations: 12.03 kB / 0.6726 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.2175, allocations: 187.2 kB / 0.6728 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.2186, allocations: 0.6064 MB / 0.6733 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.2186, allocations: 37 kB / 0.6734 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.2187, allocations: 59.94 kB / 0.6734 GB, free: 6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.22, allocations: 0.6028 MB / 0.674 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.22, allocations: 0 / 0.674 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.2201, allocations: 16 kB / 0.674 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.2201, allocations: 12 kB / 0.6741 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.2213, allocations: 467.6 kB / 0.6745 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003534/0.2248, allocations: 1.908 MB / 0.6764 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.226, allocations: 457.6 kB / 0.6768 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/0.2266, allocations: 214.5 kB / 0.677 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.2268, allocations: 43.91 kB / 0.677 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000855/0.2276, allocations: 391.1 kB / 0.6774 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=54): time 2.284e-06/0.2276, allocations: 0 / 0.6774 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54): time 0.0027/0.2303, allocations: 0.8841 MB / 0.6783 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.2304, allocations: 85.11 kB / 0.6784 GB, free: 0.793 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007822/0.2312, allocations: 0.6178 MB / 0.679 GB, free: 172 kB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.2312, allocations: 33.7 kB / 0.679 GB, free: 132 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003192/0.2316, allocations: 365.2 kB / 0.6793 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.2317, allocations: 194.3 kB / 0.6795 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.232, allocations: 138.3 kB / 0.6797 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2321, allocations: 330 kB / 0.68 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005946/0.2327, allocations: 252.6 kB / 0.6802 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006375/0.2334, allocations: 324.6 kB / 0.6805 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.2346, allocations: 0.5253 MB / 0.681 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2346, allocations: 0 / 0.681 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001859/0.2364, allocations: 0.833 MB / 0.6819 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.686e-05/0.2365, allocations: 65.44 kB / 0.6819 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/0.2365, allocations: 19.97 kB / 0.6819 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003733/0.2369, allocations: 81.78 kB / 0.682 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005199/0.2374, allocations: 131.8 kB / 0.6821 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002779/0.2402, allocations: 2.788 MB / 0.6849 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005351/0.2407, allocations: 71.72 kB / 0.6849 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.2409, allocations: 63.97 kB / 0.685 GB, free: 9.629 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003694/0.2412, allocations: 186.8 kB / 0.6852 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.2414, allocations: 87.48 kB / 0.6853 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00294/0.2443, allocations: 1.281 MB / 0.6865 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.2443, allocations: 8 kB / 0.6865 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.2443, allocations: 0 / 0.6865 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.2444, allocations: 7.922 kB / 0.6865 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.2472, allocations: 1.375 MB / 0.6879 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/0.2472, allocations: 11.98 kB / 0.6879 GB, free: 6.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004946/0.2477, allocations: 115.9 kB / 0.688 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/0.248, allocations: 89.61 kB / 0.6881 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.2481, allocations: 27.98 kB / 0.6881 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00255/0.2506, allocations: 2.803 MB / 0.6908 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.2506, allocations: 7.938 kB / 0.6908 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002473/0.2531, allocations: 1.104 MB / 0.6919 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.2534, allocations: 147.3 kB / 0.6921 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.2536, allocations: 12 kB / 0.6921 GB, free: 2.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005017/0.2541, allocations: 39.95 kB / 0.6921 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000233/0.2543, allocations: 91.8 kB / 0.6922 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.2544, allocations: 63.98 kB / 0.6923 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005487/0.255, allocations: 427 kB / 0.6927 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.255, allocations: 0 / 0.6927 GB, free: 1.461 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009725/0.2559, allocations: 303.4 kB / 0.693 GB, free: 1.164 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008029/0.2567, allocations: 397.7 kB / 0.6933 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.1898/0.4465, allocations: 1.001 MB / 0.6943 GB, free: 181 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.4465, allocations: 0 / 0.6943 GB, free: 181 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.4477, allocations: 0.6248 MB / 0.6949 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001736/0.4495, allocations: 320.9 kB / 0.6952 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/0.4519, allocations: 1.375 MB / 0.6966 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.4523, allocations: 348.8 kB / 0.6969 GB, free: 180 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001191/0.4535, allocations: 0.6729 MB / 0.6976 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.4538, allocations: 129 kB / 0.6977 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.4538, allocations: 5 kB / 0.6977 GB, free: 179.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.0283/0.4821, allocations: 17.81 MB / 0.7151 GB, free: 177.7 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.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: 6.299570687115192]