Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001769/0.001769, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001871/0.001871, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.7884/0.7884, allocations: 100.3 MB / 412.7 MB, free: 3.734 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.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.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_dev_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_dev_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.002648/0.002648, allocations: 90.28 kB / 0.5638 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1239, allocations: 74.46 MB / 0.6365 GB, free: 7.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5349/0.6589, allocations: 190.3 MB / 0.8223 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008474/0.6673, allocations: 7.431 MB / 0.8295 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009036/0.6682, allocations: 45.09 kB / 0.8296 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.6693, allocations: 371.9 kB / 0.8299 GB, free: 9.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004008/0.6733, allocations: 1.338 MB / 0.8312 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.6752, allocations: 0.6885 MB / 0.8319 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004168/0.6793, allocations: 2.507 MB / 0.8344 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002842/0.6796, allocations: 129.4 kB / 0.8345 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.6827, allocations: 1.752 MB / 0.8362 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008616/0.6836, allocations: 0.6071 MB / 0.8368 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.689e-05/0.6837, allocations: 55.81 kB / 0.8368 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.6865, allocations: 1.185 MB / 0.838 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.6866, allocations: 161.9 kB / 0.8382 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004061/0.6871, allocations: 406.4 kB / 0.8385 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002387/0.6894, allocations: 1.507 MB / 0.84 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.6894, allocations: 4 kB / 0.84 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6894, allocations: 0 / 0.84 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.6895, allocations: 0 / 0.84 GB, free: 3.891 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.002796/0.6923, allocations: 1.343 MB / 0.8413 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.6923, allocations: 10.44 kB / 0.8413 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009723/0.6933, allocations: 162.3 kB / 0.8415 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.6944, allocations: 0.5956 MB / 0.8421 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/0.6944, allocations: 36.66 kB / 0.8421 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.6945, allocations: 57.36 kB / 0.8422 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.6956, allocations: 0.5926 MB / 0.8427 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.6956, allocations: 0 / 0.8427 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.793e-05/0.6957, allocations: 20.94 kB / 0.8428 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.6957, allocations: 9.719 kB / 0.8428 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001073/0.6968, allocations: 471.1 kB / 0.8432 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.7006, allocations: 2.624 MB / 0.8458 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.7016, allocations: 435.5 kB / 0.8462 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.7022, allocations: 219.1 kB / 0.8464 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.7024, allocations: 40.31 kB / 0.8464 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008569/0.7033, allocations: 397.6 kB / 0.8468 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=54): time 2.645e-06/0.7033, allocations: 4 kB / 0.8468 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54): time 0.002536/0.7058, allocations: 0.882 MB / 0.8477 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.7059, allocations: 92.02 kB / 0.8478 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/0.7066, allocations: 0.5962 MB / 0.8484 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.231e-05/0.7066, allocations: 42.8 kB / 0.8484 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.7069, allocations: 347.4 kB / 0.8487 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/0.7071, allocations: 199 kB / 0.8489 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002037/0.7073, allocations: 132 kB / 0.849 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.7074, allocations: 327 kB / 0.8494 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004915/0.7079, allocations: 192 kB / 0.8495 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005315/0.7085, allocations: 271.5 kB / 0.8498 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.7095, allocations: 0.5058 MB / 0.8503 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.7095, allocations: 0 / 0.8503 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001606/0.7111, allocations: 0.7692 MB / 0.851 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.7112, allocations: 69.55 kB / 0.8511 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-05/0.7112, allocations: 18.45 kB / 0.8511 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.7116, allocations: 87.58 kB / 0.8512 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.712, allocations: 126.2 kB / 0.8513 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/0.7146, allocations: 2.846 MB / 0.8541 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/0.7151, allocations: 62.27 kB / 0.8542 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.7152, allocations: 70 kB / 0.8542 GB, free: 9 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.0003194/0.7155, allocations: 190.9 kB / 0.8544 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.7157, allocations: 83.14 kB / 0.8545 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.7183, allocations: 1.306 MB / 0.8558 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.7183, allocations: 4.875 kB / 0.8558 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7183, allocations: 6.406 kB / 0.8558 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.7183, allocations: 3.984 kB / 0.8558 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.7211, allocations: 1.557 MB / 0.8573 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-05/0.7211, allocations: 17.86 kB / 0.8573 GB, free: 7.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000452/0.7215, allocations: 113.4 kB / 0.8574 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002759/0.7218, allocations: 85.06 kB / 0.8575 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.7219, allocations: 39.81 kB / 0.8576 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002488/0.7244, allocations: 2.848 MB / 0.8603 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7244, allocations: 0 / 0.8603 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002293/0.7267, allocations: 1.143 MB / 0.8615 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.727, allocations: 147.3 kB / 0.8616 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.7271, allocations: 15.98 kB / 0.8616 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004892/0.7276, allocations: 36.83 kB / 0.8616 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.7278, allocations: 87.86 kB / 0.8617 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.7279, allocations: 63.97 kB / 0.8618 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005364/0.7284, allocations: 423.1 kB / 0.8622 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.7284, allocations: 0 / 0.8622 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001016/0.7295, allocations: 307.3 kB / 0.8625 GB, free: 1.844 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 (54): * Single equations (assignments): 44 * 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.0007963/0.7303, allocations: 419.4 kB / 0.8629 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001878/0.7321, allocations: 0.9449 MB / 0.8638 GB, free: 440 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7321, allocations: 4.25 kB / 0.8638 GB, free: 436 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.7333, allocations: 0.6508 MB / 0.8644 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.7344, allocations: 221.8 kB / 0.8647 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.7375, allocations: 1.577 MB / 0.8662 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006235/0.7382, allocations: 0.9387 MB / 0.8671 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001277/0.7394, allocations: 0.6807 MB / 0.8678 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003967/0.7398, allocations: 131.4 kB / 0.8679 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of SimCode: time 6.21e-07/0.7398, allocations: 0 / 0.8679 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of Templates: time 0.02942/0.7693, allocations: 16.08 MB / 0.8836 GB, free: 12.23 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.sim & ./ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Processes.Tests.TransportDelay.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_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_dev_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: 6.693065617233515]