Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo", uses=false) Using package ThermofluidStream with version 0.4.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ThermofluidStream.Processes.Tests.TransportDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009204/0.0009205, allocations: 180.8 kB / 15.43 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 225.7 MB / 241.9 MB, free: 396 kB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007341/0.0007341, allocations: 104.5 kB / 293.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermofluidStream 0.4.1-main/package.mo): time 0.6328/0.6328, allocations: 91.65 MB / 435.8 MB, free: 23.55 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003091/0.0003093, allocations: 8 kB / 0.5038 GB, free: 8.289 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2932, allocations: 69.29 MB / 0.5715 GB, free: 45.54 MB / 442.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.172/0.4652, allocations: 194.8 MB / 0.7617 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.2607/0.726, allocations: 14.97 MB / 0.7763 GB, free: 17.72 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004778/0.7265, allocations: 11.06 kB / 0.7763 GB, free: 17.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007479/0.7273, allocations: 313.3 kB / 0.7766 GB, free: 17.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003007/0.7303, allocations: 1.271 MB / 0.7779 GB, free: 17.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.7329, allocations: 1.17 MB / 0.779 GB, free: 17.66 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002938/0.7359, allocations: 2.5 MB / 0.7814 GB, free: 17.61 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002313/0.7361, allocations: 140.5 kB / 0.7816 GB, free: 17.58 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00221/0.7383, allocations: 1.506 MB / 0.783 GB, free: 17.53 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.739, allocations: 0.5182 MB / 0.7835 GB, free: 17.53 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.448e-05/0.739, allocations: 26.75 kB / 0.7836 GB, free: 17.53 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.7425, allocations: 1.776 MB / 0.7853 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.7427, allocations: 103.2 kB / 0.7854 GB, free: 17.5 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.743, allocations: 343.7 kB / 0.7857 GB, free: 17.46 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.746, allocations: 1.918 MB / 0.7876 GB, free: 17.35 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.746, allocations: 3.75 kB / 0.7876 GB, free: 17.35 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.593e-06/0.746, allocations: 0 / 0.7876 GB, free: 17.35 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.746, allocations: 0 / 0.7876 GB, free: 17.35 MB / 0.5573 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.002224/0.7482, allocations: 1.227 MB / 0.7888 GB, free: 16.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.7483, allocations: 12.95 kB / 0.7888 GB, free: 16.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008566/0.7491, allocations: 132.7 kB / 0.7889 GB, free: 16.55 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004344/0.7496, allocations: 437.6 kB / 0.7894 GB, free: 16.29 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.7496, allocations: 36.41 kB / 0.7894 GB, free: 16.29 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-05/0.7497, allocations: 51.81 kB / 0.7894 GB, free: 16.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009765/0.7507, allocations: 0.5998 MB / 0.79 GB, free: 16.24 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.7507, allocations: 8.422 kB / 0.79 GB, free: 16.23 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.575e-05/0.7508, allocations: 18.28 kB / 0.7901 GB, free: 16.23 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.7508, allocations: 16.25 kB / 0.7901 GB, free: 16.23 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.7518, allocations: 0.4888 MB / 0.7906 GB, free: 16.22 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.7547, allocations: 2.547 MB / 0.793 GB, free: 14.83 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.7558, allocations: 0.4946 MB / 0.7935 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005653/0.7563, allocations: 282.5 kB / 0.7938 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.7576, allocations: 1.408 MB / 0.7952 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008271/0.7584, allocations: 436.2 kB / 0.7956 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=58): time 2.785e-06/0.7584, allocations: 0 / 0.7956 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=58): time 0.002577/0.761, allocations: 1.124 MB / 0.7967 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.761, allocations: 86.2 kB / 0.7968 GB, free: 13.17 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004399/0.7615, allocations: 380 kB / 0.7971 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.7615, allocations: 40.48 kB / 0.7972 GB, free: 13.03 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.7617, allocations: 263.1 kB / 0.7974 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.7618, allocations: 200.3 kB / 0.7976 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.7619, allocations: 9.125 kB / 0.7976 GB, free: 12.76 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/0.762, allocations: 368.8 kB / 0.798 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.7625, allocations: 230.7 kB / 0.7982 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005663/0.7631, allocations: 295.2 kB / 0.7985 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.7642, allocations: 0.5836 MB / 0.799 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7642, allocations: 0.9375 kB / 0.799 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00168/0.7659, allocations: 0.8219 MB / 0.7998 GB, free: 12.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.7659, allocations: 60.84 kB / 0.7999 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-05/0.766, allocations: 15.11 kB / 0.7999 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002992/0.7663, allocations: 78.95 kB / 0.8 GB, free: 12.01 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.7668, allocations: 131 kB / 0.8001 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.7685, allocations: 2.831 MB / 0.8029 GB, free: 9.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005576/0.7691, allocations: 82.02 kB / 0.803 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.7692, allocations: 69.02 kB / 0.803 GB, free: 9.453 MB / 0.5573 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 ($whenCondition2,$PRE.sawTooth.T_start,sawTooth.T_start,$PRE.sawTooth.count,sawTooth.count,$whenCondition1,$PRE.sawTooth1.T_start,sawTooth1.T_start,$PRE.sawTooth1.count,sawTooth1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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.0002844/0.7695, allocations: 186.5 kB / 0.8032 GB, free: 9.332 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.155e-05/0.7696, allocations: 57.11 kB / 0.8033 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.7723, allocations: 0.9938 MB / 0.8042 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.7723, allocations: 7.562 kB / 0.8042 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7723, allocations: 0.75 kB / 0.8042 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.7723, allocations: 7.484 kB / 0.8042 GB, free: 9.156 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.7752, allocations: 1.641 MB / 0.8058 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.897e-05/0.7753, allocations: 17.34 kB / 0.8059 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.7757, allocations: 123 kB / 0.806 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002603/0.776, allocations: 87.06 kB / 0.8061 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.7761, allocations: 37.45 kB / 0.8061 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/0.7777, allocations: 2.842 MB / 0.8089 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7778, allocations: 1.156 kB / 0.8089 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002199/0.78, allocations: 1.225 MB / 0.8101 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002801/0.7803, allocations: 214.8 kB / 0.8103 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.7804, allocations: 16.03 kB / 0.8103 GB, free: 5.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.7809, allocations: 47.16 kB / 0.8103 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.7811, allocations: 90.19 kB / 0.8104 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/0.7812, allocations: 70.84 kB / 0.8105 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002822/0.7815, allocations: 268.8 kB / 0.8107 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7815, allocations: 0 / 0.8107 GB, free: 5.625 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001577/0.7831, allocations: 485.2 kB / 0.8112 GB, free: 5.559 MB / 0.5573 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 (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001723/0.7848, allocations: 0.7486 MB / 0.8119 GB, free: 5.344 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.7867, allocations: 1.104 MB / 0.813 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7867, allocations: 0 / 0.813 GB, free: 4.789 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.7878, allocations: 0.761 MB / 0.8138 GB, free: 4.371 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001053/0.7889, allocations: 176 kB / 0.8139 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.7913, allocations: 1.658 MB / 0.8155 GB, free: 3.457 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.7918, allocations: 0.883 MB / 0.8164 GB, free: 18.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000888/0.7927, allocations: 189.6 kB / 0.8166 GB, free: 18.67 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.793, allocations: 96.12 kB / 0.8167 GB, free: 18.66 MB / 0.573 GB Notification: Performance of SimCode: time 3.5e-07/0.793, allocations: 0 / 0.8167 GB, free: 18.66 MB / 0.573 GB Notification: Performance of Templates: time 0.02647/0.8195, allocations: 18.45 MB / 0.8347 GB, free: 11.62 MB / 0.573 GB make -j1 -f ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.makefile (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) diffSimulationResults("ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Processes.Tests.TransportDelay_ref.mat","../files/ThermofluidStream_ThermofluidStream.Processes.Tests.TransportDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches