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.001314/0.001314, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001773/0.001773, allocations: 213.2 kB / 22.24 MB, free: 5.242 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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.7509/0.7509, allocations: 94.62 MB / 407 MB, free: 8.91 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.002578/0.002578, allocations: 93.5 kB / 0.5554 GB, free: 38.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1257, allocations: 73.05 MB / 0.6268 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5215/0.6472, allocations: 164.4 MB / 0.7873 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008127/0.6553, allocations: 6.728 MB / 0.7939 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.6564, allocations: 46.41 kB / 0.7939 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.6576, allocations: 334.3 kB / 0.7942 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003943/0.6615, allocations: 1.325 MB / 0.7955 GB, free: 3.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.6634, allocations: 0.6789 MB / 0.7962 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003983/0.6674, allocations: 2.499 MB / 0.7986 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003701/0.6678, allocations: 133.8 kB / 0.7988 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.671, allocations: 1.748 MB / 0.8005 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009167/0.6719, allocations: 0.5665 MB / 0.801 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.672, allocations: 56.94 kB / 0.8011 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.6747, allocations: 0.9937 MB / 0.802 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.6749, allocations: 151.4 kB / 0.8022 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.6753, allocations: 336.3 kB / 0.8025 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003308/0.6786, allocations: 1.487 MB / 0.804 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6787, allocations: 0.9062 kB / 0.804 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6787, allocations: 0 / 0.804 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.6787, allocations: 0 / 0.804 GB, free: 2.555 MB / 0.5762 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.003252/0.6819, allocations: 1.338 MB / 0.8053 GB, free: 17.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.682, allocations: 9.875 kB / 0.8053 GB, free: 17.81 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.6831, allocations: 171.2 kB / 0.8054 GB, free: 17.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.6844, allocations: 0.5993 MB / 0.806 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.615e-05/0.6844, allocations: 37.84 kB / 0.8061 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.6845, allocations: 58.03 kB / 0.8061 GB, free: 17.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6856, allocations: 0.5856 MB / 0.8067 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.6856, allocations: 0.7812 kB / 0.8067 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.879e-05/0.6857, allocations: 20.11 kB / 0.8067 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.6857, allocations: 11.31 kB / 0.8067 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6867, allocations: 455.5 kB / 0.8072 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003231/0.6899, allocations: 1.704 MB / 0.8088 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/0.6911, allocations: 462.7 kB / 0.8093 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/0.6916, allocations: 215 kB / 0.8095 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.6918, allocations: 39.69 kB / 0.8095 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007465/0.6926, allocations: 388.1 kB / 0.8099 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 4.188e-06/0.6926, allocations: 1.844 kB / 0.8099 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.002373/0.695, allocations: 0.8735 MB / 0.8107 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.695, allocations: 92.14 kB / 0.8108 GB, free: 16.47 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006958/0.6957, allocations: 0.5902 MB / 0.8114 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.601e-05/0.6958, allocations: 38.64 kB / 0.8114 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.6961, allocations: 350.6 kB / 0.8118 GB, free: 16.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.6962, allocations: 199.2 kB / 0.8119 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.6964, allocations: 131.6 kB / 0.8121 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.6965, allocations: 322.8 kB / 0.8124 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004983/0.697, allocations: 254.3 kB / 0.8126 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005222/0.6975, allocations: 312.4 kB / 0.8129 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009836/0.6985, allocations: 0.5006 MB / 0.8134 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6985, allocations: 0 / 0.8134 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001624/0.7002, allocations: 0.8192 MB / 0.8142 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.124e-05/0.7002, allocations: 66.38 kB / 0.8143 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-05/0.7003, allocations: 14.7 kB / 0.8143 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/0.7006, allocations: 89.34 kB / 0.8144 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004391/0.701, allocations: 120.2 kB / 0.8145 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.7035, allocations: 2.791 MB / 0.8172 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006461/0.7042, allocations: 68.05 kB / 0.8173 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.7043, allocations: 62.66 kB / 0.8173 GB, free: 11.86 MB / 0.5919 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.0004027/0.7047, allocations: 188.5 kB / 0.8175 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.7048, allocations: 81.11 kB / 0.8176 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/0.7075, allocations: 1.274 MB / 0.8188 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.7075, allocations: 6.344 kB / 0.8188 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.7075, allocations: 2.844 kB / 0.8188 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.7075, allocations: 7.266 kB / 0.8189 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002685/0.7102, allocations: 1.372 MB / 0.8202 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/0.7102, allocations: 13.7 kB / 0.8202 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004409/0.7107, allocations: 109.8 kB / 0.8203 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002909/0.7109, allocations: 88.39 kB / 0.8204 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.711, allocations: 38.94 kB / 0.8204 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.7135, allocations: 2.802 MB / 0.8232 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.7136, allocations: 6.156 kB / 0.8232 GB, free: 7.934 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.7158, allocations: 1.102 MB / 0.8243 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.7162, allocations: 137.9 kB / 0.8244 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.7163, allocations: 18.98 kB / 0.8244 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.7168, allocations: 33.22 kB / 0.8244 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.717, allocations: 92.22 kB / 0.8245 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.33e-05/0.7171, allocations: 64.89 kB / 0.8246 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005141/0.7176, allocations: 414.9 kB / 0.825 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7176, allocations: 0 / 0.825 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00103/0.7186, allocations: 281.7 kB / 0.8252 GB, free: 7.035 MB / 0.5919 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.0007263/0.7194, allocations: 387.3 kB / 0.8256 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001925/0.7213, allocations: 1.006 MB / 0.8266 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7213, allocations: 0 / 0.8266 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.7224, allocations: 0.6259 MB / 0.8272 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001242/0.7236, allocations: 218.5 kB / 0.8274 GB, free: 5.668 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003253/0.7269, allocations: 1.566 MB / 0.8289 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.7272, allocations: 337.1 kB / 0.8293 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001206/0.7284, allocations: 0.6702 MB / 0.8299 GB, free: 4.582 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000356/0.7288, allocations: 128 kB / 0.83 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/0.7288, allocations: 4 kB / 0.8301 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of Templates: time 0.03024/0.759, allocations: 16.8 MB / 0.8465 GB, free: 9.684 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: 6.6844491716474295]