Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.0009601/0.0009601, 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.001054/0.001054, 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.016/1.016, allocations: 177.2 MB / 203.8 MB, free: 5.477 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.7276/0.7276, allocations: 118.6 MB / 378.9 MB, free: 1.352 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.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_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_ThermofluidStream.Undirected.Processes.Tests.TransportDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 430.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.121e-05, allocations: 2.312 kB / 430.9 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.3526/0.3526, allocations: 146.7 MB / 0.564 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003976/0.3566, allocations: 2.271 MB / 0.5663 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.3572, allocations: 55.5 kB / 0.5663 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.3577, allocations: 206.2 kB / 0.5665 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.3599, allocations: 1.114 MB / 0.5676 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000809/0.3607, allocations: 410.9 kB / 0.568 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003016/0.3637, allocations: 2.794 MB / 0.5707 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003159/0.364, allocations: 158.9 kB / 0.5709 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.3663, allocations: 1.764 MB / 0.5726 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007217/0.367, allocations: 0.6233 MB / 0.5732 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.3671, allocations: 72 kB / 0.5733 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.3681, allocations: 0.624 MB / 0.5739 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.3683, allocations: 207 kB / 0.5741 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002776/0.3686, allocations: 355.1 kB / 0.5744 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.3701, allocations: 1.277 MB / 0.5757 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3701, allocations: 0 / 0.5757 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3701, allocations: 0 / 0.5757 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.482e-05/0.3701, allocations: 0 / 0.5757 GB, free: 12.59 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.002002/0.3721, allocations: 1.459 MB / 0.5771 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3722, allocations: 12.02 kB / 0.5771 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008874/0.373, allocations: 320.1 kB / 0.5774 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008662/0.3739, allocations: 0.6472 MB / 0.578 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.374, allocations: 104.7 kB / 0.5781 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.215e-05/0.3741, allocations: 71.94 kB / 0.5782 GB, free: 9.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009544/0.375, allocations: 0.5963 MB / 0.5788 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.375, allocations: 0 / 0.5788 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.3751, allocations: 28 kB / 0.5788 GB, free: 9.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.3751, allocations: 16 kB / 0.5788 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.3755, allocations: 245.9 kB / 0.5791 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002321/0.3778, allocations: 1.934 MB / 0.5809 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005529/0.3783, allocations: 368.4 kB / 0.5813 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.3785, allocations: 123.1 kB / 0.5814 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003485/0.3788, allocations: 116.8 kB / 0.5815 GB, free: 6.383 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003536/0.3792, allocations: 338.7 kB / 0.5818 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 2.314e-06/0.3792, allocations: 0 / 0.5818 GB, free: 6.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=69): time 0.0009185/0.3801, allocations: 0.5243 MB / 0.5824 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.3802, allocations: 93.05 kB / 0.5825 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.3805, allocations: 0.598 MB / 0.583 GB, free: 4.785 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.3806, allocations: 41.7 kB / 0.5831 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.3807, allocations: 302.8 kB / 0.5834 GB, free: 4.438 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/0.3809, allocations: 245.8 kB / 0.5836 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.381, allocations: 150.5 kB / 0.5837 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.35e-05/0.3811, allocations: 337.9 kB / 0.5841 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3813, allocations: 137.4 kB / 0.5842 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.3815, allocations: 252.3 kB / 0.5844 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.3818, allocations: 387.5 kB / 0.5848 GB, free: 2.844 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3818, allocations: 3.938 kB / 0.5848 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005858/0.3824, allocations: 0.5454 MB / 0.5853 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003029/0.3827, allocations: 69.27 kB / 0.5854 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.3827, allocations: 4 kB / 0.5854 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/0.383, allocations: 77.92 kB / 0.5855 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.3833, allocations: 179.8 kB / 0.5857 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.3846, allocations: 2.466 MB / 0.5881 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.3849, allocations: 84.28 kB / 0.5881 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.96e-05/0.3849, allocations: 67.97 kB / 0.5882 GB, free: 15.14 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.0001813/0.3851, allocations: 156.5 kB / 0.5884 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.3852, allocations: 79.86 kB / 0.5884 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.3866, allocations: 1.251 MB / 0.5897 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.3866, allocations: 8 kB / 0.5897 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.3866, allocations: 0 / 0.5897 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.3866, allocations: 3.984 kB / 0.5897 GB, free: 13.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.3877, allocations: 0.9888 MB / 0.5906 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.3877, allocations: 7.984 kB / 0.5906 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.3881, allocations: 147.8 kB / 0.5908 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001907/0.3882, allocations: 81.7 kB / 0.5909 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.3883, allocations: 35.97 kB / 0.5909 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.3896, allocations: 2.482 MB / 0.5933 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3896, allocations: 4.062 kB / 0.5933 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.3904, allocations: 0.701 MB / 0.594 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.3906, allocations: 127.2 kB / 0.5941 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.3906, allocations: 15.94 kB / 0.5941 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.3909, allocations: 39.95 kB / 0.5942 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.3911, allocations: 103.8 kB / 0.5943 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.079e-05/0.3911, allocations: 67.97 kB / 0.5943 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002124/0.3913, allocations: 292.5 kB / 0.5946 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.3913, allocations: 0 / 0.5946 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006743/0.392, allocations: 323.5 kB / 0.5949 GB, free: 7.984 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.0003658/0.3924, allocations: 253.3 kB / 0.5952 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007836/0.3932, allocations: 0.8527 MB / 0.596 GB, free: 6.793 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.3932, allocations: 12 kB / 0.596 GB, free: 6.781 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.3936, allocations: 0.5608 MB / 0.5966 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008849/0.3945, allocations: 385.1 kB / 0.5969 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.3965, allocations: 1.485 MB / 0.5984 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.3966, allocations: 168.6 kB / 0.5985 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001376/0.398, allocations: 0.9866 MB / 0.5995 GB, free: 3.113 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007736/0.3987, allocations: 433 kB / 0.5999 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of SimCode: time 9.41e-07/0.3987, allocations: 0 / 0.5999 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of Templates: time 0.02452/0.4233, allocations: 20.06 MB / 0.6195 GB, free: 15.08 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.397958696354181]