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.002533/0.002533, allocations: 82.64 kB / 19.16 MB, free: 2.535 MB / 14.72 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.00246/0.00246, allocations: 167 kB / 22.44 MB, free: 5.336 MB / 14.72 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.516/1.516, allocations: 177.2 MB / 202.8 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/package.mo): time 0.806/0.806, allocations: 74.9 MB / 334.1 MB, free: 15.98 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.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: ThermofluidStream requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ThermofluidStream requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00269/0.00269, allocations: 87.5 kB / 496 MB, free: 29.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1516, allocations: 73.04 MB / 0.5557 GB, free: 15.54 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5565/0.7081, allocations: 164.3 MB / 0.7161 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009242/0.7173, allocations: 6.712 MB / 0.7227 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009178/0.7183, allocations: 44.56 kB / 0.7227 GB, free: 4.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009973/0.7193, allocations: 333.9 kB / 0.7231 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004119/0.7234, allocations: 1.335 MB / 0.7244 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001987/0.7254, allocations: 0.6822 MB / 0.725 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004271/0.7296, allocations: 2.493 MB / 0.7275 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003291/0.73, allocations: 123.6 kB / 0.7276 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003655/0.7336, allocations: 1.945 MB / 0.7295 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.7347, allocations: 0.5718 MB / 0.73 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.7348, allocations: 57.53 kB / 0.7301 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002444/0.7373, allocations: 0.9986 MB / 0.7311 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.7375, allocations: 155.1 kB / 0.7312 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004553/0.7379, allocations: 329.5 kB / 0.7315 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002715/0.7406, allocations: 1.502 MB / 0.733 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7406, allocations: 4.438 kB / 0.733 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7406, allocations: 0 / 0.733 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.7407, allocations: 0 / 0.733 GB, free: 3.746 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003187/0.7438, allocations: 1.33 MB / 0.7343 GB, free: 19.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.7439, allocations: 13.56 kB / 0.7343 GB, free: 19 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.745, allocations: 171.4 kB / 0.7345 GB, free: 18.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.7462, allocations: 0.6005 MB / 0.7351 GB, free: 18.69 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.841e-05/0.7462, allocations: 35.56 kB / 0.7351 GB, free: 18.69 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.7463, allocations: 50.06 kB / 0.7351 GB, free: 18.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.7475, allocations: 0.5874 MB / 0.7357 GB, free: 18.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.7475, allocations: 5.297 kB / 0.7357 GB, free: 18.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/0.7476, allocations: 16.91 kB / 0.7357 GB, free: 18.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.7476, allocations: 11.47 kB / 0.7357 GB, free: 18.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.7486, allocations: 458.4 kB / 0.7362 GB, free: 18.61 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.7519, allocations: 1.722 MB / 0.7379 GB, free: 18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.753, allocations: 456.5 kB / 0.7383 GB, free: 17.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004772/0.7535, allocations: 217.5 kB / 0.7385 GB, free: 17.94 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002144/0.7537, allocations: 33.58 kB / 0.7385 GB, free: 17.94 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007103/0.7544, allocations: 388.6 kB / 0.7389 GB, free: 17.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=54): time 2.235e-06/0.7544, allocations: 6.969 kB / 0.7389 GB, free: 17.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54): time 0.002474/0.7569, allocations: 0.8655 MB / 0.7398 GB, free: 17.76 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.757, allocations: 95.86 kB / 0.7399 GB, free: 17.66 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006524/0.7576, allocations: 0.5811 MB / 0.7404 GB, free: 17.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.75e-05/0.7577, allocations: 37.64 kB / 0.7405 GB, free: 17.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.7579, allocations: 356 kB / 0.7408 GB, free: 17.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.7581, allocations: 192.2 kB / 0.741 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001967/0.7583, allocations: 138 kB / 0.7411 GB, free: 17.21 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.7584, allocations: 329.3 kB / 0.7414 GB, free: 16.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005131/0.7589, allocations: 249.8 kB / 0.7417 GB, free: 16.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.7595, allocations: 319.5 kB / 0.742 GB, free: 16.72 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009839/0.7605, allocations: 0.5023 MB / 0.7425 GB, free: 16.61 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7605, allocations: 1.031 kB / 0.7425 GB, free: 16.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001637/0.7621, allocations: 0.8103 MB / 0.7433 GB, free: 16.38 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/0.7622, allocations: 65.75 kB / 0.7433 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.7622, allocations: 15.59 kB / 0.7433 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003566/0.7626, allocations: 80.02 kB / 0.7434 GB, free: 16.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.763, allocations: 121.4 kB / 0.7435 GB, free: 16.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.7657, allocations: 2.792 MB / 0.7462 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006505/0.7663, allocations: 58.62 kB / 0.7463 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.7665, allocations: 63.14 kB / 0.7464 GB, free: 13.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 (sawTooth.count,$PRE.sawTooth.count,sawTooth.T_start,$PRE.sawTooth.T_start,$whenCondition2,sawTooth1.count,$PRE.sawTooth1.count,sawTooth1.T_start,$PRE.sawTooth1.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 52 * 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.0003998/0.7669, allocations: 199.5 kB / 0.7466 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.767, allocations: 78.36 kB / 0.7466 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002502/0.7695, allocations: 1.269 MB / 0.7479 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.7695, allocations: 7.625 kB / 0.7479 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7695, allocations: 4.094 kB / 0.7479 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.7695, allocations: 5.953 kB / 0.7479 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/0.772, allocations: 1.376 MB / 0.7492 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/0.772, allocations: 11.44 kB / 0.7492 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.7725, allocations: 114.1 kB / 0.7493 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002861/0.7728, allocations: 91.22 kB / 0.7494 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-05/0.7728, allocations: 36.03 kB / 0.7495 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.7755, allocations: 2.795 MB / 0.7522 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7755, allocations: 5 kB / 0.7522 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002436/0.7779, allocations: 1.105 MB / 0.7533 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003483/0.7783, allocations: 141.8 kB / 0.7534 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.7784, allocations: 15.73 kB / 0.7534 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.7789, allocations: 34.09 kB / 0.7535 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.7791, allocations: 90.36 kB / 0.7536 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/0.7792, allocations: 59.61 kB / 0.7536 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004713/0.7796, allocations: 416.4 kB / 0.754 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.7796, allocations: 0 / 0.754 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001002/0.7806, allocations: 291.2 kB / 0.7543 GB, free: 10.33 MB / 0.6075 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.0007051/0.7813, allocations: 388.6 kB / 0.7547 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.7832, allocations: 1.002 MB / 0.7556 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.7832, allocations: 0 / 0.7556 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.7843, allocations: 0.6352 MB / 0.7563 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.7854, allocations: 210.7 kB / 0.7565 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/0.7881, allocations: 1.566 MB / 0.758 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.7885, allocations: 332.1 kB / 0.7583 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001147/0.7896, allocations: 0.6692 MB / 0.759 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003579/0.79, allocations: 133 kB / 0.7591 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.79, allocations: 2.25 kB / 0.7591 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of Templates: time 0.02738/0.8174, allocations: 15.84 MB / 0.7746 GB, free: 2.789 MB / 0.6075 GB " [Timeout remaining time 659] 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.012231033295393]