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.0008736/0.0008736, allocations: 76.94 kB / 19.93 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.001767/0.001767, allocations: 172.9 kB / 23.36 MB, free: 1.125 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.9069/0.9069, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.638/0.638, allocations: 118.7 MB / 378.9 MB, free: 1.336 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.122e-06/1.122e-06, allocations: 0 / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.408e-06/1.053e-05, allocations: 5.266 kB / 430.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.265/0.2651, allocations: 145.5 MB / 0.5628 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.2673, allocations: 2.005 MB / 0.5648 GB, free: 7.75 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.2676, allocations: 55.44 kB / 0.5648 GB, free: 7.695 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003412/0.2679, allocations: 170.5 kB / 0.565 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.2694, allocations: 1.041 MB / 0.566 GB, free: 6.488 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004252/0.2699, allocations: 343.1 kB / 0.5664 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001914/0.2718, allocations: 2.469 MB / 0.5688 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.272, allocations: 146.5 kB / 0.5689 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.2733, allocations: 1.634 MB / 0.5705 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.2738, allocations: 0.5142 MB / 0.571 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-05/0.2738, allocations: 56 kB / 0.5711 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008077/0.2746, allocations: 0.5538 MB / 0.5716 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.2748, allocations: 167.1 kB / 0.5718 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.275, allocations: 291.2 kB / 0.572 GB, free: 312 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009225/0.2759, allocations: 1.129 MB / 0.5731 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.2759, allocations: 0 / 0.5731 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2759, allocations: 0 / 0.5731 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.2759, allocations: 0 / 0.5731 GB, free: 15.17 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.001423/0.2773, allocations: 1.313 MB / 0.5744 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.2773, allocations: 8.031 kB / 0.5744 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006317/0.278, allocations: 252.3 kB / 0.5747 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.2787, allocations: 0.6274 MB / 0.5753 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.2787, allocations: 40.94 kB / 0.5753 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.2788, allocations: 59.94 kB / 0.5754 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.2792, allocations: 460 kB / 0.5758 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.2792, allocations: 3.984 kB / 0.5758 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.2793, allocations: 20 kB / 0.5758 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.2793, allocations: 16 kB / 0.5758 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.2796, allocations: 180.5 kB / 0.576 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/0.2811, allocations: 1.474 MB / 0.5775 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.2814, allocations: 282.9 kB / 0.5777 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.2816, allocations: 102.6 kB / 0.5778 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001358/0.2817, allocations: 57.09 kB / 0.5779 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002604/0.2819, allocations: 268.3 kB / 0.5781 GB, free: 9.863 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=54): time 3.155e-06/0.282, allocations: 3.984 kB / 0.5781 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54): time 0.0009381/0.2829, allocations: 456.5 kB / 0.5786 GB, free: 9.406 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.2829, allocations: 92.98 kB / 0.5787 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.2833, allocations: 0.5863 MB / 0.5792 GB, free: 8.703 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.2833, allocations: 37.7 kB / 0.5793 GB, free: 8.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.2834, allocations: 267.1 kB / 0.5795 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/0.2835, allocations: 194.3 kB / 0.5797 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.2837, allocations: 122.2 kB / 0.5798 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.034e-05/0.2837, allocations: 333.9 kB / 0.5802 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.2839, allocations: 116.7 kB / 0.5803 GB, free: 7.621 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.284, allocations: 204.7 kB / 0.5805 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.2843, allocations: 298.7 kB / 0.5807 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2843, allocations: 0 / 0.5807 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004672/0.2847, allocations: 481.7 kB / 0.5812 GB, free: 6.547 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.2848, allocations: 63.41 kB / 0.5813 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.2848, allocations: 15.97 kB / 0.5813 GB, free: 6.457 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000217/0.285, allocations: 77.73 kB / 0.5814 GB, free: 6.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.2852, allocations: 111.8 kB / 0.5815 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.2863, allocations: 2.478 MB / 0.5839 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.2865, allocations: 63.59 kB / 0.5839 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.2866, allocations: 51.98 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.0001503/0.2867, allocations: 140.5 kB / 0.5841 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.453e-05/0.2868, allocations: 71.92 kB / 0.5842 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.2879, allocations: 0.94 MB / 0.5851 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.2879, allocations: 8 kB / 0.5851 GB, free: 2.324 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-06/0.2879, allocations: 5.75 kB / 0.5851 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2879, allocations: 11.98 kB / 0.5851 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.289, allocations: 0.8578 MB / 0.586 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.289, allocations: 7.984 kB / 0.586 GB, free: 1.406 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.2892, allocations: 91.89 kB / 0.5861 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/0.2894, allocations: 93.64 kB / 0.5862 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.2894, allocations: 31.97 kB / 0.5862 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.2904, allocations: 2.46 MB / 0.5886 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2904, allocations: 0 / 0.5886 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005802/0.291, allocations: 0.6137 MB / 0.5892 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.2912, allocations: 115.3 kB / 0.5893 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.081e-05/0.2912, allocations: 16 kB / 0.5893 GB, free: 13.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.2915, allocations: 35.94 kB / 0.5893 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.2916, allocations: 79.86 kB / 0.5894 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.2916, allocations: 51.97 kB / 0.5895 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001935/0.2918, allocations: 288.5 kB / 0.5897 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.2918, allocations: 0 / 0.5897 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004663/0.2923, allocations: 271.6 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.0003205/0.2926, allocations: 240 kB / 0.5902 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005971/0.2932, allocations: 0.7773 MB / 0.591 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/0.2932, allocations: 8 kB / 0.591 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.2936, allocations: 0.521 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.0007675/0.2943, allocations: 337.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.001807/0.2961, allocations: 1.327 MB / 0.5931 GB, free: 9.707 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.96e-05/0.2962, allocations: 163.4 kB / 0.5933 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007353/0.297, allocations: 0.6885 MB / 0.594 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/0.2976, allocations: 373 kB / 0.5943 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of SimCode: time 4.91e-07/0.2976, allocations: 0 / 0.5943 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of Templates: time 0.0188/0.3164, allocations: 17.6 MB / 0.6115 GB, free: 7.281 MB / 0.5573 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=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.7019672486931086]