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.001859/0.001859, allocations: 113 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.002589/0.002589, allocations: 209.6 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.599/1.599, allocations: 230.6 MB / 256 MB, free: 8.035 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.787/0.787, allocations: 100.3 MB / 412.7 MB, free: 3.684 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.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: 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.002637/0.002637, allocations: 89.59 kB / 0.5638 GB, free: 35.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1241, allocations: 74.46 MB / 0.6365 GB, free: 7.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.Processes.Tests.TransportDelay): time 0.4987/0.6229, allocations: 193.5 MB / 0.8254 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006913/0.6298, allocations: 5.583 MB / 0.8309 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008054/0.6306, allocations: 52.34 kB / 0.8309 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.6317, allocations: 419.9 kB / 0.8313 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003741/0.6354, allocations: 1.467 MB / 0.8327 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.6376, allocations: 0.8448 MB / 0.8336 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004471/0.6421, allocations: 2.769 MB / 0.8363 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.6425, allocations: 150.8 kB / 0.8364 GB, free: 5.977 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.6461, allocations: 1.973 MB / 0.8383 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.6473, allocations: 0.7321 MB / 0.8391 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.6474, allocations: 70.72 kB / 0.8391 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.6505, allocations: 1.277 MB / 0.8404 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.6507, allocations: 197.8 kB / 0.8406 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.6513, allocations: 492.3 kB / 0.841 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003443/0.6547, allocations: 1.746 MB / 0.8427 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6547, allocations: 0 / 0.8427 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6547, allocations: 0 / 0.8427 GB, free: 2.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.253e-05/0.6547, allocations: 0 / 0.8427 GB, free: 2.59 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003615/0.6584, allocations: 1.545 MB / 0.8442 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.6584, allocations: 9.344 kB / 0.8443 GB, free: 1.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.6595, allocations: 193.5 kB / 0.8444 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.6608, allocations: 0.6428 MB / 0.8451 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001069/0.6609, allocations: 108.4 kB / 0.8452 GB, free: 0.7969 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.661, allocations: 67.17 kB / 0.8452 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.6627, allocations: 0.8061 MB / 0.846 GB, free: 280 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/0.6627, allocations: 3.281 kB / 0.846 GB, free: 280 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/0.6628, allocations: 24.89 kB / 0.846 GB, free: 260 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.6628, allocations: 19.2 kB / 0.8461 GB, free: 256 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.6647, allocations: 0.6931 MB / 0.8467 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/0.6699, allocations: 3.562 MB / 0.8502 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.6718, allocations: 0.6633 MB / 0.8509 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008246/0.6726, allocations: 321.2 kB / 0.8512 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.6733, allocations: 124.6 kB / 0.8513 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/0.6744, allocations: 0.5092 MB / 0.8518 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.654e-06/0.6745, allocations: 0 / 0.8518 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.003542/0.678, allocations: 1.216 MB / 0.853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.037e-05/0.6781, allocations: 96.62 kB / 0.8531 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007922/0.6789, allocations: 0.6626 MB / 0.8537 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/0.6789, allocations: 36.23 kB / 0.8537 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.6793, allocations: 402.5 kB / 0.8541 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002256/0.6795, allocations: 244.3 kB / 0.8544 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.6798, allocations: 162.3 kB / 0.8545 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.68, allocations: 336.8 kB / 0.8548 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000829/0.6808, allocations: 292.1 kB / 0.8551 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/0.6817, allocations: 394.6 kB / 0.8555 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/0.6834, allocations: 0.7458 MB / 0.8562 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.6834, allocations: 0 / 0.8562 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002423/0.6859, allocations: 1.022 MB / 0.8572 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.621e-05/0.6859, allocations: 63.41 kB / 0.8573 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.022e-05/0.686, allocations: 11.98 kB / 0.8573 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.6863, allocations: 81.66 kB / 0.8574 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007827/0.6871, allocations: 195.7 kB / 0.8576 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002814/0.6899, allocations: 2.855 MB / 0.8603 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/0.6907, allocations: 109.4 kB / 0.8605 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.6908, allocations: 79.98 kB / 0.8605 GB, free: 4.84 MB / 0.6075 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.000405/0.6912, allocations: 203.9 kB / 0.8607 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.6914, allocations: 91.5 kB / 0.8608 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.6954, allocations: 1.8 MB / 0.8626 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.6954, allocations: 11.94 kB / 0.8626 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6955, allocations: 4 kB / 0.8626 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.6955, allocations: 3.984 kB / 0.8626 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004048/0.6995, allocations: 1.914 MB / 0.8645 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/0.6995, allocations: 12.97 kB / 0.8645 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007333/0.7003, allocations: 167.8 kB / 0.8646 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.7006, allocations: 93.56 kB / 0.8647 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.804e-05/0.7007, allocations: 39.97 kB / 0.8648 GB, free: 452 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.7034, allocations: 2.865 MB / 0.8676 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.7034, allocations: 4.062 kB / 0.8676 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/0.707, allocations: 1.476 MB / 0.869 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.7075, allocations: 175.1 kB / 0.8692 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.7076, allocations: 16 kB / 0.8692 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/0.7083, allocations: 63.92 kB / 0.8692 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/0.7086, allocations: 111.8 kB / 0.8693 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.7087, allocations: 71.97 kB / 0.8694 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006431/0.7093, allocations: 475 kB / 0.8699 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7093, allocations: 0 / 0.8699 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001175/0.7105, allocations: 347.3 kB / 0.8702 GB, free: 10.61 MB / 0.6231 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.0007985/0.7113, allocations: 424.9 kB / 0.8706 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.714, allocations: 1.189 MB / 0.8718 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.714, allocations: 0 / 0.8718 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/0.7156, allocations: 0.7619 MB / 0.8725 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.717, allocations: 251.8 kB / 0.8728 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003904/0.7209, allocations: 1.843 MB / 0.8746 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006732/0.7216, allocations: 0.9707 MB / 0.8755 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001924/0.7235, allocations: 0.9921 MB / 0.8765 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/0.7241, allocations: 175.3 kB / 0.8766 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of SimCode: time 1.032e-06/0.7241, allocations: 8 kB / 0.8766 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of Templates: time 0.03505/0.7591, allocations: 18.86 MB / 0.8951 GB, free: 1.199 MB / 0.6387 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=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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.148792652413249]