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.001547/0.001547, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001704/0.001704, allocations: 162.7 kB / 23.01 MB, free: 4.594 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.333/1.333, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.1 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.7191/0.7191, allocations: 79.61 MB / 339.4 MB, free: 11 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.002453/0.002453, allocations: 89.78 kB / 0.4924 GB, free: 26.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1255, allocations: 74.58 MB / 0.5652 GB, free: 6.012 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.481/0.6065, allocations: 164.4 MB / 0.7257 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006975/0.6134, allocations: 6.731 MB / 0.7323 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008365/0.6143, allocations: 44.44 kB / 0.7323 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000984/0.6153, allocations: 331.9 kB / 0.7327 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.6186, allocations: 1.328 MB / 0.734 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.6203, allocations: 0.6823 MB / 0.7346 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003516/0.6238, allocations: 2.51 MB / 0.7371 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.6241, allocations: 122.8 kB / 0.7372 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.6271, allocations: 1.761 MB / 0.7389 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009176/0.628, allocations: 0.5728 MB / 0.7395 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.6282, allocations: 56.19 kB / 0.7395 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.6304, allocations: 0.992 MB / 0.7405 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.6305, allocations: 154.5 kB / 0.7406 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.6308, allocations: 334 kB / 0.741 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002186/0.633, allocations: 1.486 MB / 0.7424 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.633, allocations: 2.906 kB / 0.7424 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.493e-06/0.633, allocations: 3.281 kB / 0.7424 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.056e-05/0.633, allocations: 7.875 kB / 0.7424 GB, free: 2.969 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.002558/0.6356, allocations: 1.334 MB / 0.7437 GB, free: 18.22 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.6356, allocations: 8.656 kB / 0.7437 GB, free: 18.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.6367, allocations: 171.3 kB / 0.7439 GB, free: 18.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009175/0.6376, allocations: 0.5934 MB / 0.7445 GB, free: 17.92 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/0.6376, allocations: 39.94 kB / 0.7445 GB, free: 17.92 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.142e-05/0.6377, allocations: 54.2 kB / 0.7446 GB, free: 17.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/0.6387, allocations: 0.5823 MB / 0.7451 GB, free: 17.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.6387, allocations: 5.906 kB / 0.7451 GB, free: 17.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.556e-05/0.6388, allocations: 17.06 kB / 0.7452 GB, free: 17.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.6388, allocations: 11.78 kB / 0.7452 GB, free: 17.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009838/0.6397, allocations: 457.3 kB / 0.7456 GB, free: 17.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.6427, allocations: 1.714 MB / 0.7473 GB, free: 17.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009791/0.6437, allocations: 461.4 kB / 0.7477 GB, free: 17.17 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/0.6441, allocations: 216.9 kB / 0.7479 GB, free: 17.15 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001675/0.6443, allocations: 34.52 kB / 0.748 GB, free: 17.15 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006651/0.645, allocations: 387.9 kB / 0.7483 GB, free: 17.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=54): time 2.375e-06/0.645, allocations: 0.9375 kB / 0.7483 GB, free: 17.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=54): time 0.002224/0.6472, allocations: 0.8719 MB / 0.7492 GB, free: 16.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.377e-05/0.6473, allocations: 90.42 kB / 0.7493 GB, free: 16.88 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005823/0.6478, allocations: 0.5838 MB / 0.7498 GB, free: 16.75 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.222e-05/0.6479, allocations: 39.39 kB / 0.7499 GB, free: 16.71 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.6482, allocations: 352.4 kB / 0.7502 GB, free: 16.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.6483, allocations: 196.9 kB / 0.7504 GB, free: 16.45 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001916/0.6485, allocations: 133.9 kB / 0.7505 GB, free: 16.43 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6487, allocations: 325.8 kB / 0.7508 GB, free: 16.12 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.6492, allocations: 248.2 kB / 0.7511 GB, free: 16.06 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005184/0.6497, allocations: 313.1 kB / 0.7514 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009342/0.6506, allocations: 0.5047 MB / 0.7519 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6506, allocations: 1.156 kB / 0.7519 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001502/0.6521, allocations: 0.8224 MB / 0.7527 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.317e-05/0.6522, allocations: 59.69 kB / 0.7527 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.038e-05/0.6522, allocations: 18.97 kB / 0.7528 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000317/0.6525, allocations: 84.16 kB / 0.7528 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004279/0.653, allocations: 126.1 kB / 0.753 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/0.6552, allocations: 2.794 MB / 0.7557 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.6557, allocations: 64.03 kB / 0.7557 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.731e-05/0.6558, allocations: 67.17 kB / 0.7558 GB, free: 13.09 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.0003254/0.6562, allocations: 186.9 kB / 0.756 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.6563, allocations: 79.02 kB / 0.7561 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.6589, allocations: 1.269 MB / 0.7573 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.6589, allocations: 9.281 kB / 0.7573 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6589, allocations: 1.688 kB / 0.7573 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.659, allocations: 9.078 kB / 0.7573 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002417/0.6614, allocations: 1.375 MB / 0.7587 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/0.6614, allocations: 19.53 kB / 0.7587 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.6618, allocations: 108 kB / 0.7588 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.6621, allocations: 88.17 kB / 0.7589 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.6622, allocations: 36.19 kB / 0.7589 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002401/0.6646, allocations: 2.792 MB / 0.7616 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6646, allocations: 6.844 kB / 0.7616 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.6667, allocations: 1.111 MB / 0.7627 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.6671, allocations: 139.3 kB / 0.7629 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/0.6672, allocations: 19.77 kB / 0.7629 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/0.6676, allocations: 34.14 kB / 0.7629 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.6678, allocations: 91.44 kB / 0.763 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.799e-05/0.6679, allocations: 60.67 kB / 0.763 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004639/0.6684, allocations: 413.4 kB / 0.7634 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.6684, allocations: 0 / 0.7634 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009708/0.6693, allocations: 286.6 kB / 0.7637 GB, free: 9.047 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.0006429/0.67, allocations: 387 kB / 0.7641 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001784/0.6718, allocations: 1.002 MB / 0.7651 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6718, allocations: 0 / 0.7651 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.6728, allocations: 0.6335 MB / 0.7657 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.6738, allocations: 209.2 kB / 0.7659 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.6767, allocations: 1.559 MB / 0.7674 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.677, allocations: 334.4 kB / 0.7677 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001113/0.6781, allocations: 0.6701 MB / 0.7684 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.6785, allocations: 134.7 kB / 0.7685 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.6785, allocations: 0 / 0.7685 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of Templates: time 0.02653/0.705, allocations: 15.81 MB / 0.7839 GB, free: 15.98 MB / 0.6231 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 -s ida -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/jenkins1/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: 23.124596206005663]