Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001417/0.001417, 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.001588/0.001588, allocations: 177 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 1.034/1.034, allocations: 177.1 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.7315/0.7315, allocations: 118.6 MB / 378.9 MB, free: 1.344 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.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") translateModel(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|transportDelay.inlet.m_flow|transportDelay.x|transportDelay1.rear.m_flow|transportDelay1.x|trapezoid.T_start|trapezoid.count|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.652e-05/2.828e-05, allocations: 2.312 kB / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3561/0.3562, allocations: 146.7 MB / 0.564 GB, free: 8.496 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.004329/0.3605, allocations: 2.275 MB / 0.5663 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007834/0.3613, allocations: 51.5 kB / 0.5663 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.3618, allocations: 206.2 kB / 0.5665 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002366/0.3642, allocations: 1.118 MB / 0.5676 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3652, allocations: 398.9 kB / 0.568 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002784/0.368, allocations: 2.798 MB / 0.5707 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.3683, allocations: 158.9 kB / 0.5709 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.3701, allocations: 1.77 MB / 0.5726 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006895/0.3708, allocations: 0.6078 MB / 0.5732 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.3709, allocations: 76 kB / 0.5733 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001046/0.3719, allocations: 0.6356 MB / 0.5739 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3721, allocations: 199.1 kB / 0.5741 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.3724, allocations: 363 kB / 0.5744 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.3743, allocations: 1.269 MB / 0.5756 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3743, allocations: 0 / 0.5756 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3743, allocations: 0 / 0.5756 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.3743, allocations: 0 / 0.5756 GB, free: 12.57 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001852/0.3761, allocations: 1.462 MB / 0.5771 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.3762, allocations: 12.02 kB / 0.5771 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008676/0.377, allocations: 316.1 kB / 0.5774 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008419/0.3779, allocations: 0.6468 MB / 0.578 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.034e-05/0.378, allocations: 100.7 kB / 0.5781 GB, free: 9.969 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.578e-05/0.378, allocations: 75.92 kB / 0.5782 GB, free: 9.895 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008061/0.3789, allocations: 0.5963 MB / 0.5788 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3789, allocations: 0 / 0.5788 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.3789, allocations: 24 kB / 0.5788 GB, free: 9.234 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.379, allocations: 16 kB / 0.5788 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000499/0.3795, allocations: 249.9 kB / 0.579 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00276/0.3822, allocations: 1.942 MB / 0.5809 GB, free: 6.973 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006383/0.3828, allocations: 367 kB / 0.5813 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.3831, allocations: 122.4 kB / 0.5814 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004065/0.3835, allocations: 120.8 kB / 0.5815 GB, free: 6.355 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006812/0.3841, allocations: 331.3 kB / 0.5818 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 2.755e-06/0.3841, allocations: 0 / 0.5818 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.001092/0.3852, allocations: 0.5278 MB / 0.5824 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.3853, allocations: 92.98 kB / 0.5824 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.3858, allocations: 0.598 MB / 0.583 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/0.3859, allocations: 37.7 kB / 0.5831 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.386, allocations: 302.8 kB / 0.5834 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.3862, allocations: 249.8 kB / 0.5836 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002183/0.3864, allocations: 154.5 kB / 0.5837 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.3865, allocations: 333.9 kB / 0.5841 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.3867, allocations: 137.4 kB / 0.5842 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.387, allocations: 254.6 kB / 0.5844 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004762/0.3875, allocations: 391.4 kB / 0.5848 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.3875, allocations: 0 / 0.5848 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007603/0.3882, allocations: 0.5415 MB / 0.5853 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.3883, allocations: 63.39 kB / 0.5854 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.3883, allocations: 4 kB / 0.5854 GB, free: 2.156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.3886, allocations: 77.92 kB / 0.5855 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.3891, allocations: 179.8 kB / 0.5856 GB, free: 1.898 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.3906, allocations: 2.474 MB / 0.5881 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.391, allocations: 79.53 kB / 0.5881 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.3912, allocations: 64.72 kB / 0.5882 GB, free: 15.12 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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.0003001/0.3915, allocations: 160.7 kB / 0.5884 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.3916, allocations: 79.92 kB / 0.5884 GB, free: 14.87 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.3936, allocations: 1.255 MB / 0.5897 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.3937, allocations: 8 kB / 0.5897 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3937, allocations: 1.25 kB / 0.5897 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3937, allocations: 3.984 kB / 0.5897 GB, free: 13.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.3952, allocations: 0.9838 MB / 0.5906 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.3952, allocations: 7.984 kB / 0.5906 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004121/0.3956, allocations: 143.8 kB / 0.5908 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/0.3959, allocations: 89.56 kB / 0.5909 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/0.3959, allocations: 35.97 kB / 0.5909 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.3974, allocations: 2.474 MB / 0.5933 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.103e-06/0.3974, allocations: 0 / 0.5933 GB, free: 9.652 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.3983, allocations: 0.6972 MB / 0.594 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002601/0.3986, allocations: 131.2 kB / 0.5941 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-05/0.3987, allocations: 19.94 kB / 0.5941 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.399, allocations: 43.89 kB / 0.5942 GB, free: 8.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.3993, allocations: 107.8 kB / 0.5943 GB, free: 8.625 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.042e-05/0.3993, allocations: 59.97 kB / 0.5943 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002896/0.3996, allocations: 300.5 kB / 0.5946 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.3996, allocations: 0 / 0.5946 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008959/0.4005, allocations: 323.4 kB / 0.5949 GB, free: 7.957 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (transportDelay1.x,flowResistance1.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * 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.0004665/0.401, allocations: 249.3 kB / 0.5952 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.4023, allocations: 0.845 MB / 0.596 GB, free: 6.777 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.4023, allocations: 8 kB / 0.596 GB, free: 6.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.4028, allocations: 0.5678 MB / 0.5966 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001187/0.404, allocations: 389.2 kB / 0.5969 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.4065, allocations: 1.479 MB / 0.5984 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.4067, allocations: 172.6 kB / 0.5985 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001443/0.4081, allocations: 0.9873 MB / 0.5995 GB, free: 3.094 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009905/0.4091, allocations: 437 kB / 0.5999 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of SimCode: time 1.142e-06/0.4091, allocations: 0 / 0.5999 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of Templates: time 0.03025/0.4394, allocations: 20.06 MB / 0.6195 GB, free: 15.06 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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: 4.4519695029594]