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.001272/0.001272, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.00165/0.00165, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9693/0.9693, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.6619/0.6619, allocations: 118.6 MB / 378.9 MB, free: 1.48 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.313e-06/1.313e-06, allocations: 0 / 483.6 MB, free: 8.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.116e-05, allocations: 2.312 kB / 483.6 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4383/0.4384, allocations: 189.9 MB / 0.6577 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004783/0.4431, allocations: 3.624 MB / 0.6612 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008944/0.444, allocations: 53.91 kB / 0.6613 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009835/0.445, allocations: 392 kB / 0.6617 GB, free: 12.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003627/0.4487, allocations: 1.618 MB / 0.6632 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.4504, allocations: 0.8618 MB / 0.6641 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003766/0.4542, allocations: 3.054 MB / 0.6671 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003633/0.4545, allocations: 147.6 kB / 0.6672 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003488/0.458, allocations: 2.31 MB / 0.6695 GB, free: 12 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008595/0.4589, allocations: 0.6326 MB / 0.6701 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.4591, allocations: 71.97 kB / 0.6701 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002169/0.4612, allocations: 1.065 MB / 0.6712 GB, free: 11.89 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.4614, allocations: 204.6 kB / 0.6714 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004419/0.4618, allocations: 357.4 kB / 0.6717 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003023/0.4649, allocations: 1.627 MB / 0.6733 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.4649, allocations: 1.75 kB / 0.6733 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.443e-06/0.4649, allocations: 0 / 0.6733 GB, free: 11.6 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.847e-05/0.4649, allocations: 0.875 kB / 0.6733 GB, free: 11.6 MB / 0.5573 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.003072/0.468, allocations: 1.658 MB / 0.6749 GB, free: 26.67 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.468, allocations: 13.28 kB / 0.6749 GB, free: 26.67 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009867/0.469, allocations: 340.3 kB / 0.6753 GB, free: 26.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.47, allocations: 0.7209 MB / 0.676 GB, free: 26.29 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.4701, allocations: 104.8 kB / 0.6761 GB, free: 26.21 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.4702, allocations: 69.28 kB / 0.6761 GB, free: 26.21 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009746/0.4712, allocations: 0.659 MB / 0.6768 GB, free: 26.07 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.4712, allocations: 1.938 kB / 0.6768 GB, free: 26.07 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-05/0.4713, allocations: 27.09 kB / 0.6768 GB, free: 26.07 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.301e-05/0.4713, allocations: 15.41 kB / 0.6768 GB, free: 26.07 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006581/0.472, allocations: 339 kB / 0.6772 GB, free: 26.06 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/0.4749, allocations: 2.791 MB / 0.6799 GB, free: 24.65 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008119/0.4758, allocations: 459.1 kB / 0.6803 GB, free: 24.58 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.476, allocations: 168.4 kB / 0.6805 GB, free: 24.56 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003846/0.4764, allocations: 104.2 kB / 0.6806 GB, free: 24.56 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004934/0.4769, allocations: 371.3 kB / 0.6809 GB, free: 24.47 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 3.526e-06/0.4769, allocations: 1.281 kB / 0.6809 GB, free: 24.47 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.001565/0.4785, allocations: 0.7911 MB / 0.6817 GB, free: 24.34 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.4785, allocations: 93.34 kB / 0.6818 GB, free: 24.25 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005769/0.4791, allocations: 0.6729 MB / 0.6824 GB, free: 24.05 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.4792, allocations: 39.52 kB / 0.6825 GB, free: 24.02 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.4794, allocations: 477.7 kB / 0.6829 GB, free: 23.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.4795, allocations: 241.3 kB / 0.6832 GB, free: 23.64 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.4797, allocations: 179.4 kB / 0.6833 GB, free: 23.61 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4798, allocations: 0.5003 MB / 0.6838 GB, free: 23.13 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.4801, allocations: 184.3 kB / 0.684 GB, free: 23.07 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.4804, allocations: 325.9 kB / 0.6843 GB, free: 22.87 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005232/0.4809, allocations: 473.4 kB / 0.6848 GB, free: 22.66 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4809, allocations: 3.094 kB / 0.6848 GB, free: 22.66 MB / 0.573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009489/0.4818, allocations: 0.7933 MB / 0.6855 GB, free: 22.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 4.54e-05/0.4819, allocations: 65.95 kB / 0.6856 GB, free: 22.36 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.4819, allocations: 13.08 kB / 0.6856 GB, free: 22.36 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000298/0.4822, allocations: 84.92 kB / 0.6857 GB, free: 22.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.4825, allocations: 184.9 kB / 0.6859 GB, free: 22.33 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.4844, allocations: 3.639 MB / 0.6894 GB, free: 18.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.4849, allocations: 85.27 kB / 0.6895 GB, free: 18.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.485, allocations: 81.52 kB / 0.6896 GB, free: 18.84 MB / 0.573 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition2,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1) * 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.0002732/0.4853, allocations: 199.4 kB / 0.6898 GB, free: 18.68 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.4854, allocations: 116.8 kB / 0.6899 GB, free: 18.63 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.4871, allocations: 1.482 MB / 0.6913 GB, free: 18.48 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4871, allocations: 9.125 kB / 0.6913 GB, free: 18.48 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4871, allocations: 0.7812 kB / 0.6914 GB, free: 18.48 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.086e-06/0.4871, allocations: 5.328 kB / 0.6914 GB, free: 18.48 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.4888, allocations: 1.487 MB / 0.6928 GB, free: 17.98 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.4888, allocations: 9.562 kB / 0.6928 GB, free: 17.98 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/0.4891, allocations: 139.6 kB / 0.6929 GB, free: 17.98 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000234/0.4893, allocations: 100 kB / 0.693 GB, free: 17.96 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.634e-05/0.4894, allocations: 46.95 kB / 0.6931 GB, free: 17.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001508/0.4909, allocations: 3.646 MB / 0.6967 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4909, allocations: 4.125 kB / 0.6967 GB, free: 14.48 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.492, allocations: 1.065 MB / 0.6977 GB, free: 14.04 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.4922, allocations: 168.8 kB / 0.6979 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.517e-05/0.4923, allocations: 19.73 kB / 0.6979 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002706/0.4926, allocations: 38.33 kB / 0.6979 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.4928, allocations: 119.7 kB / 0.698 GB, free: 13.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.406e-05/0.4929, allocations: 76.89 kB / 0.6981 GB, free: 13.96 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003161/0.4932, allocations: 445.8 kB / 0.6985 GB, free: 13.83 MB / 0.573 GB Notification: Performance of sort global known variables: time 7e-08/0.4932, allocations: 0 / 0.6985 GB, free: 13.83 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0009008/0.4941, allocations: 357.8 kB / 0.6989 GB, free: 13.79 MB / 0.573 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.0005649/0.4946, allocations: 402.1 kB / 0.6992 GB, free: 13.68 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.4957, allocations: 1.049 MB / 0.7003 GB, free: 13 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4957, allocations: 0 / 0.7003 GB, free: 13 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005169/0.4962, allocations: 0.738 MB / 0.701 GB, free: 12.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.4972, allocations: 394.4 kB / 0.7014 GB, free: 12.46 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.4994, allocations: 1.56 MB / 0.7029 GB, free: 11.64 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.4995, allocations: 169.2 kB / 0.7031 GB, free: 11.57 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00107/0.5006, allocations: 0.9888 MB / 0.704 GB, free: 11.44 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.5009, allocations: 183.8 kB / 0.7042 GB, free: 11.41 MB / 0.573 GB Notification: Performance of SimCode: time 1.483e-06/0.5009, allocations: 0 / 0.7042 GB, free: 11.41 MB / 0.573 GB Notification: Performance of Templates: time 0.0217/0.5226, allocations: 20.33 MB / 0.724 GB, free: 4.984 MB / 0.573 GB " [Timeout remaining time 659] 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 -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.567477012053132]