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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo", uses=false) [Timeout 90] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007856/0.007856, allocations: 98.12 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002145/0.002145, allocations: 195.5 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/package.mo): time 0.7738/0.7738, allocations: 93.71 MB / 384.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002488/0.002489, allocations: 79.86 kB / 0.5204 GB, free: 5.789 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1385, allocations: 68.26 MB / 0.5871 GB, free: 1.445 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4933/0.6319, allocations: 192.4 MB / 0.775 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008203/0.6401, allocations: 5.551 MB / 0.7804 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008987/0.6411, allocations: 31.81 kB / 0.7804 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.6423, allocations: 417.2 kB / 0.7808 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004441/0.6468, allocations: 1.423 MB / 0.7822 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002388/0.6492, allocations: 0.8252 MB / 0.783 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004874/0.6541, allocations: 2.672 MB / 0.7856 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.6547, allocations: 250.4 kB / 0.7859 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003793/0.6585, allocations: 1.847 MB / 0.7877 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001271/0.6598, allocations: 0.7004 MB / 0.7883 GB, free: 4.086 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00024/0.66, allocations: 76 kB / 0.7884 GB, free: 4.012 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.6634, allocations: 1.217 MB / 0.7896 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/0.6637, allocations: 191.1 kB / 0.7898 GB, free: 2.605 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007518/0.6645, allocations: 493.3 kB / 0.7903 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004155/0.6687, allocations: 1.74 MB / 0.792 GB, free: 384 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6687, allocations: 0 / 0.792 GB, free: 384 kB / 0.6231 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6687, allocations: 0 / 0.792 GB, free: 384 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.951e-05/0.6687, allocations: 0 / 0.792 GB, free: 384 kB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004262/0.673, allocations: 1.613 MB / 0.7935 GB, free: 14.69 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6731, allocations: 8.031 kB / 0.7935 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.6743, allocations: 187.2 kB / 0.7937 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.6758, allocations: 0.7363 MB / 0.7944 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.6759, allocations: 74.95 kB / 0.7945 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.676, allocations: 64 kB / 0.7946 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001865/0.6779, allocations: 0.8078 MB / 0.7954 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.678, allocations: 3.938 kB / 0.7954 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.653e-05/0.6781, allocations: 28 kB / 0.7954 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.6781, allocations: 12 kB / 0.7954 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.6802, allocations: 0.693 MB / 0.7961 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005539/0.6857, allocations: 3.614 MB / 0.7996 GB, free: 8.078 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.6879, allocations: 0.7001 MB / 0.8003 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009785/0.6889, allocations: 354.4 kB / 0.8006 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000998/0.6899, allocations: 0.4938 MB / 0.8011 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001327/0.6912, allocations: 0.5087 MB / 0.8016 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 3.867e-06/0.6912, allocations: 0 / 0.8016 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.004175/0.6954, allocations: 1.363 MB / 0.8029 GB, free: 4.484 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.703e-05/0.6955, allocations: 85.11 kB / 0.803 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.6966, allocations: 0.6767 MB / 0.8037 GB, free: 3.695 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.6967, allocations: 41.7 kB / 0.8037 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.6971, allocations: 389.1 kB / 0.8041 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/0.6973, allocations: 249.9 kB / 0.8043 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.6977, allocations: 170.6 kB / 0.8045 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.6979, allocations: 334 kB / 0.8048 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009953/0.6989, allocations: 293.7 kB / 0.8051 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.6999, allocations: 394.3 kB / 0.8055 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.702, allocations: 0.7351 MB / 0.8062 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.702, allocations: 0 / 0.8062 GB, free: 1.027 MB / 0.6387 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002979/0.705, allocations: 1.035 MB / 0.8072 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.7051, allocations: 63.61 kB / 0.8073 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.973e-05/0.7051, allocations: 12 kB / 0.8073 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.7056, allocations: 85.59 kB / 0.8074 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008285/0.7064, allocations: 187.7 kB / 0.8075 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.7094, allocations: 3.061 MB / 0.8105 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009206/0.7103, allocations: 107.6 kB / 0.8106 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001988/0.7105, allocations: 83.97 kB / 0.8107 GB, free: 12.08 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (77): * Single equations (assignments): 69 * 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.0004682/0.711, allocations: 205.6 kB / 0.8109 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/0.7113, allocations: 91.39 kB / 0.811 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.7157, allocations: 1.799 MB / 0.8127 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.7157, allocations: 8 kB / 0.8128 GB, free: 9.965 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.7157, allocations: 4 kB / 0.8128 GB, free: 9.961 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.7158, allocations: 7.984 kB / 0.8128 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004474/0.7202, allocations: 1.956 MB / 0.8147 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.017e-05/0.7203, allocations: 12.09 kB / 0.8147 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007615/0.7211, allocations: 167.8 kB / 0.8148 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003387/0.7214, allocations: 93.61 kB / 0.8149 GB, free: 7.656 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.7215, allocations: 43.97 kB / 0.815 GB, free: 7.613 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003038/0.7246, allocations: 3.063 MB / 0.818 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7246, allocations: 4.094 kB / 0.818 GB, free: 4.266 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004239/0.7289, allocations: 1.479 MB / 0.8194 GB, free: 2.758 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005819/0.7295, allocations: 248.3 kB / 0.8197 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/0.7298, allocations: 23.98 kB / 0.8197 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/0.7306, allocations: 51.94 kB / 0.8197 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/0.7309, allocations: 111.9 kB / 0.8198 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/0.7311, allocations: 71.97 kB / 0.8199 GB, free: 2.242 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008128/0.7319, allocations: 475 kB / 0.8204 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7319, allocations: 3.938 kB / 0.8204 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001409/0.7333, allocations: 347.3 kB / 0.8207 GB, free: 1.441 MB / 0.6544 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 (66): * Single equations (assignments): 56 * 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.001178/0.7345, allocations: 437.6 kB / 0.8211 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003052/0.7376, allocations: 1.198 MB / 0.8223 GB, free: 15.74 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.7376, allocations: 448 / 0.8223 GB, free: 15.74 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/0.7394, allocations: 0.7926 MB / 0.8231 GB, free: 14.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.7409, allocations: 266.5 kB / 0.8233 GB, free: 14.64 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.7451, allocations: 1.842 MB / 0.8251 GB, free: 12.76 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.7458, allocations: 0.9708 MB / 0.8261 GB, free: 11.76 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001968/0.7478, allocations: 0.9912 MB / 0.827 GB, free: 10.77 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.7484, allocations: 183.3 kB / 0.8272 GB, free: 10.59 MB / 0.67 GB Notification: Performance of SimCode: time 1.031e-06/0.7484, allocations: 0 / 0.8272 GB, free: 10.59 MB / 0.67 GB Notification: Performance of Templates: time 0.03535/0.7838, allocations: 18.24 MB / 0.845 GB, free: 8.531 MB / 0.6856 GB 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches