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.001346/0.001346, allocations: 78.33 kB / 19.18 MB, free: 2.527 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.001432/0.001432, allocations: 168.3 kB / 22.46 MB, free: 5.359 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.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 1.015/1.015, allocations: 116 MB / 375.2 MB, free: 7.527 MB / 350.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.5537 GB, free: 13.77 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.551e-05/3.7e-05, allocations: 2.281 kB / 0.5537 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Processes.Tests.TransportDelay): time 0.5526/0.5526, allocations: 168.7 MB / 0.7185 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004409/0.557, allocations: 2.975 MB / 0.7214 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008032/0.5578, allocations: 53.83 kB / 0.7215 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001038/0.5589, allocations: 352.4 kB / 0.7218 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.5631, allocations: 1.453 MB / 0.7232 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002748/0.5658, allocations: 0.708 MB / 0.7239 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004336/0.5701, allocations: 2.732 MB / 0.7266 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003137/0.5705, allocations: 134.9 kB / 0.7267 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.574, allocations: 2.007 MB / 0.7287 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007782/0.5748, allocations: 0.5355 MB / 0.7292 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.463e-05/0.5749, allocations: 56 kB / 0.7293 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00245/0.5773, allocations: 0.9906 MB / 0.7302 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.5775, allocations: 161 kB / 0.7304 GB, free: 5.473 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003502/0.5778, allocations: 296.7 kB / 0.7307 GB, free: 5.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003458/0.5813, allocations: 1.628 MB / 0.7323 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.5813, allocations: 0.9062 kB / 0.7323 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5813, allocations: 0 / 0.7323 GB, free: 5.254 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.427e-05/0.5813, allocations: 0 / 0.7323 GB, free: 5.254 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002926/0.5843, allocations: 1.383 MB / 0.7336 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5843, allocations: 8.938 kB / 0.7336 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.5854, allocations: 188.9 kB / 0.7338 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.5865, allocations: 0.6284 MB / 0.7344 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.5866, allocations: 38.16 kB / 0.7344 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.5867, allocations: 54.03 kB / 0.7345 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.5877, allocations: 0.5993 MB / 0.7351 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.5878, allocations: 3.938 kB / 0.7351 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.071e-05/0.5878, allocations: 23.06 kB / 0.7351 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/0.5879, allocations: 11.22 kB / 0.7351 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.5889, allocations: 460.3 kB / 0.7356 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.592, allocations: 1.905 MB / 0.7374 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.593, allocations: 454.6 kB / 0.7379 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.5935, allocations: 214.8 kB / 0.7381 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000194/0.5937, allocations: 40.36 kB / 0.7381 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000708/0.5944, allocations: 388.2 kB / 0.7385 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=54): time 2.565e-06/0.5944, allocations: 2.438 kB / 0.7385 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54): time 0.002504/0.5969, allocations: 0.8645 MB / 0.7393 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.597, allocations: 86.67 kB / 0.7394 GB, free: 2.941 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/0.5976, allocations: 0.6259 MB / 0.74 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.393e-05/0.5977, allocations: 40.83 kB / 0.74 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003771/0.5981, allocations: 381.4 kB / 0.7404 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.5982, allocations: 198.1 kB / 0.7406 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.5985, allocations: 132.4 kB / 0.7407 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.5985, allocations: 332.4 kB / 0.741 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.599, allocations: 243.7 kB / 0.7413 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005466/0.5996, allocations: 333.7 kB / 0.7416 GB, free: 1.977 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.6006, allocations: 0.5074 MB / 0.7421 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6006, allocations: 0 / 0.7421 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001545/0.6022, allocations: 0.8347 MB / 0.7429 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.6022, allocations: 67.06 kB / 0.743 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/0.6022, allocations: 13.69 kB / 0.743 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.6026, allocations: 86.59 kB / 0.7431 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/0.603, allocations: 123.3 kB / 0.7432 GB, free: 1.535 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.6052, allocations: 2.795 MB / 0.7459 GB, free: 15.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.6058, allocations: 62.45 kB / 0.746 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.6059, allocations: 68.7 kB / 0.746 GB, free: 15.12 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (62): * Single equations (assignments): 54 * 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.0004006/0.6063, allocations: 200.1 kB / 0.7462 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.6065, allocations: 90.08 kB / 0.7463 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002501/0.609, allocations: 1.264 MB / 0.7475 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.609, allocations: 8.094 kB / 0.7476 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.609, allocations: 3.625 kB / 0.7476 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.609, allocations: 4.094 kB / 0.7476 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/0.6116, allocations: 1.372 MB / 0.7489 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.501e-05/0.6116, allocations: 14.73 kB / 0.7489 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004658/0.6121, allocations: 116.8 kB / 0.749 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.6123, allocations: 81.53 kB / 0.7491 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.656e-05/0.6124, allocations: 38.31 kB / 0.7491 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/0.6148, allocations: 2.786 MB / 0.7519 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6148, allocations: 0 / 0.7519 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.617, allocations: 1.101 MB / 0.7529 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003656/0.6174, allocations: 150.1 kB / 0.7531 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.6175, allocations: 19.31 kB / 0.7531 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.618, allocations: 34.08 kB / 0.7531 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.6182, allocations: 89.61 kB / 0.7532 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/0.6183, allocations: 61.94 kB / 0.7533 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005471/0.6189, allocations: 441.7 kB / 0.7537 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6189, allocations: 0 / 0.7537 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001129/0.62, allocations: 306 kB / 0.754 GB, free: 11.57 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.0008446/0.6208, allocations: 399.2 kB / 0.7544 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001906/0.6227, allocations: 1.005 MB / 0.7554 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.6227, allocations: 0 / 0.7554 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.6238, allocations: 0.627 MB / 0.756 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.6255, allocations: 325.9 kB / 0.7563 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.6282, allocations: 1.387 MB / 0.7576 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.6285, allocations: 354.3 kB / 0.758 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001167/0.6297, allocations: 0.6864 MB / 0.7586 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/0.6301, allocations: 134.6 kB / 0.7588 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of SimCode: time 8.72e-07/0.6301, allocations: 0 / 0.7588 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of Templates: time 0.03232/0.6624, allocations: 17.76 MB / 0.7761 GB, free: 2.109 MB / 0.6075 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.917044389992952]