Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.000942/0.000942, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001693/0.001693, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.8765/0.8765, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.6723/0.6723, allocations: 118.6 MB / 378.9 MB, free: 1.328 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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.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_dev_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_dev_ThermofluidStream.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 430.8 MB, free: 13.33 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.633e-05, allocations: 2.312 kB / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.2548/0.2549, allocations: 145.5 MB / 0.5628 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002339/0.2572, allocations: 2.008 MB / 0.5648 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.2575, allocations: 51.5 kB / 0.5648 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003473/0.2578, allocations: 180.9 kB / 0.565 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.2594, allocations: 1.024 MB / 0.566 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004384/0.2598, allocations: 347.1 kB / 0.5663 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001924/0.2618, allocations: 2.485 MB / 0.5688 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.2619, allocations: 134.6 kB / 0.5689 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.2633, allocations: 1.634 MB / 0.5705 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.2638, allocations: 0.5181 MB / 0.571 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.552e-05/0.2638, allocations: 60 kB / 0.5711 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005926/0.2644, allocations: 0.548 MB / 0.5716 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.2645, allocations: 167.2 kB / 0.5717 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.2647, allocations: 287.2 kB / 0.572 GB, free: 316 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009041/0.2656, allocations: 1.141 MB / 0.5731 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2656, allocations: 0 / 0.5731 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2656, allocations: 4 kB / 0.5731 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.2657, allocations: 0 / 0.5731 GB, free: 15.16 MB / 0.5261 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.001728/0.2674, allocations: 1.309 MB / 0.5744 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.2674, allocations: 8.031 kB / 0.5744 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006321/0.268, allocations: 248.3 kB / 0.5747 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006796/0.2687, allocations: 0.6313 MB / 0.5753 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.2687, allocations: 40.94 kB / 0.5753 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.014e-05/0.2688, allocations: 55.95 kB / 0.5754 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.2693, allocations: 460 kB / 0.5758 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2693, allocations: 4 kB / 0.5758 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.2693, allocations: 20 kB / 0.5758 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.2694, allocations: 12 kB / 0.5758 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.2696, allocations: 184.5 kB / 0.576 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/0.2711, allocations: 1.474 MB / 0.5775 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003494/0.2715, allocations: 282.2 kB / 0.5777 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001175/0.2716, allocations: 102.2 kB / 0.5778 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.2717, allocations: 52.61 kB / 0.5779 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.272, allocations: 276.3 kB / 0.5781 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=54): time 1.573e-06/0.272, allocations: 3.938 kB / 0.5781 GB, free: 9.852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54): time 0.0007193/0.2727, allocations: 448 kB / 0.5786 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/0.2727, allocations: 97.03 kB / 0.5787 GB, free: 9.293 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.2731, allocations: 0.5785 MB / 0.5792 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.2731, allocations: 37.7 kB / 0.5793 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.2732, allocations: 275 kB / 0.5795 GB, free: 8.391 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.2733, allocations: 194.3 kB / 0.5797 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.2735, allocations: 126.2 kB / 0.5798 GB, free: 8.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.63e-05/0.2735, allocations: 333.9 kB / 0.5802 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.2737, allocations: 116.7 kB / 0.5803 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003605/0.274, allocations: 196.7 kB / 0.5805 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002624/0.2743, allocations: 302.7 kB / 0.5807 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.2743, allocations: 0 / 0.5807 GB, free: 7.051 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004494/0.2747, allocations: 481.6 kB / 0.5812 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.2748, allocations: 59.41 kB / 0.5813 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.813e-05/0.2748, allocations: 11.98 kB / 0.5813 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002215/0.275, allocations: 89.8 kB / 0.5814 GB, free: 6.367 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/0.2752, allocations: 111.8 kB / 0.5815 GB, free: 6.258 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.2763, allocations: 2.471 MB / 0.5839 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.2765, allocations: 59.61 kB / 0.5839 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.2766, allocations: 55.97 kB / 0.584 GB, free: 3.5 MB / 0.5261 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 (sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1,sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2) * 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.0001502/0.2767, allocations: 148.5 kB / 0.5841 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.2768, allocations: 71.92 kB / 0.5842 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.2778, allocations: 0.9406 MB / 0.5851 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2778, allocations: 7.984 kB / 0.5851 GB, free: 2.316 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2778, allocations: 5.875 kB / 0.5851 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.2778, allocations: 0 / 0.5851 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008742/0.2787, allocations: 0.8578 MB / 0.586 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.2787, allocations: 11.98 kB / 0.586 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002101/0.2789, allocations: 95.94 kB / 0.5861 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001875/0.2791, allocations: 93.58 kB / 0.5862 GB, free: 1.215 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/0.2791, allocations: 23.98 kB / 0.5862 GB, free: 1.191 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.2804, allocations: 2.464 MB / 0.5886 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2804, allocations: 5.25 kB / 0.5886 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.281, allocations: 0.6164 MB / 0.5892 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.2811, allocations: 119.3 kB / 0.5893 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.63e-05/0.2812, allocations: 12 kB / 0.5893 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.2814, allocations: 31.91 kB / 0.5893 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.2815, allocations: 83.86 kB / 0.5894 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.316e-05/0.2816, allocations: 47.97 kB / 0.5895 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000193/0.2818, allocations: 288.5 kB / 0.5897 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4e-08/0.2818, allocations: 0 / 0.5897 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000463/0.2822, allocations: 275.5 kB / 0.59 GB, free: 13.07 MB / 0.5417 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.0003178/0.2825, allocations: 236.8 kB / 0.5902 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005954/0.2831, allocations: 0.7735 MB / 0.591 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.2831, allocations: 8 kB / 0.591 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.2835, allocations: 0.5253 MB / 0.5915 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/0.2842, allocations: 333.2 kB / 0.5918 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.2858, allocations: 1.331 MB / 0.5931 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.2859, allocations: 156 kB / 0.5933 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007385/0.2867, allocations: 0.6902 MB / 0.594 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008588/0.2875, allocations: 381 kB / 0.5943 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of SimCode: time 6.81e-07/0.2875, allocations: 0 / 0.5943 GB, free: 8.465 MB / 0.5417 GB Notification: Performance of Templates: time 0.0185/0.306, allocations: 17.59 MB / 0.6115 GB, free: 7.277 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7224478060379624]