Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.001819/0.001819, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002091/0.002091, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 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.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 1.105/1.105, allocations: 118.6 MB / 378.2 MB, free: 1.5 MB / 346.7 MB " [Timeout remaining time 178] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 482.9 MB, free: 8.27 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.395e-05/3.588e-05, allocations: 2.312 kB / 482.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.2512/0.2513, allocations: 160.7 MB / 0.6285 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.2706, allocations: 11.63 MB / 0.6398 GB, free: 4.199 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.2723, allocations: 63.38 kB / 0.6399 GB, free: 4.137 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002238/0.2745, allocations: 0.5274 MB / 0.6404 GB, free: 3.605 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003893/0.2784, allocations: 0.9971 MB / 0.6414 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003168/0.2816, allocations: 0.8521 MB / 0.6422 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003143/0.2847, allocations: 1.573 MB / 0.6437 GB, free: 168 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3842/0.6689, allocations: 202.7 kB / 0.6439 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/0.6712, allocations: 0.8581 MB / 0.6448 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.6724, allocations: 0.5783 MB / 0.6453 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.6726, allocations: 76 kB / 0.6454 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003275/0.6758, allocations: 1.228 MB / 0.6466 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002309/0.6761, allocations: 211.5 kB / 0.6468 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000638/0.6767, allocations: 368.6 kB / 0.6472 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.6803, allocations: 1.691 MB / 0.6488 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6803, allocations: 0.875 kB / 0.6488 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6803, allocations: 0 / 0.6488 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.88e-05/0.6803, allocations: 1.094 kB / 0.6488 GB, free: 14.64 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.003306/0.6836, allocations: 1.658 MB / 0.6504 GB, free: 29.75 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.6836, allocations: 8.781 kB / 0.6504 GB, free: 29.75 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.684, allocations: 212.6 kB / 0.6506 GB, free: 29.67 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.6854, allocations: 0.8401 MB / 0.6515 GB, free: 29.37 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.6855, allocations: 49.88 kB / 0.6515 GB, free: 29.37 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.029e-05/0.6856, allocations: 75.55 kB / 0.6516 GB, free: 29.37 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.6866, allocations: 0.7221 MB / 0.6523 GB, free: 29.25 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.6866, allocations: 3.562 kB / 0.6523 GB, free: 29.25 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.706e-05/0.6867, allocations: 37 kB / 0.6523 GB, free: 29.24 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.6867, allocations: 16.22 kB / 0.6523 GB, free: 29.24 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008097/0.6875, allocations: 487.9 kB / 0.6528 GB, free: 29.24 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.6909, allocations: 2.44 MB / 0.6552 GB, free: 28.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.6919, allocations: 0.5037 MB / 0.6557 GB, free: 28.28 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.6922, allocations: 219.3 kB / 0.6559 GB, free: 28.27 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001768/0.694, allocations: 0.9819 MB / 0.6569 GB, free: 27.91 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.694, allocations: 46.39 kB / 0.6569 GB, free: 27.87 MB / 0.573 GB Notification: Performance of pre-optimization done (n=55): time 2.064e-06/0.694, allocations: 0.9688 kB / 0.6569 GB, free: 27.87 MB / 0.573 GB Notification: Performance of matching and sorting (n=56): time 0.003121/0.6972, allocations: 1.562 MB / 0.6584 GB, free: 27.43 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.6972, allocations: 60.88 kB / 0.6585 GB, free: 27.36 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009252/0.6981, allocations: 0.9041 MB / 0.6594 GB, free: 27.16 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/0.6982, allocations: 35.58 kB / 0.6594 GB, free: 27.13 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003612/0.6985, allocations: 0.57 MB / 0.66 GB, free: 26.89 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.6987, allocations: 212.9 kB / 0.6602 GB, free: 26.76 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.6988, allocations: 115.6 kB / 0.6603 GB, free: 26.73 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002884/0.6991, allocations: 0.5047 MB / 0.6608 GB, free: 26.25 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002622/0.6994, allocations: 150.4 kB / 0.6609 GB, free: 26.25 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/0.6997, allocations: 270.2 kB / 0.6612 GB, free: 26.14 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.7004, allocations: 474.2 kB / 0.6616 GB, free: 26.03 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7004, allocations: 1.844 kB / 0.6616 GB, free: 26.03 MB / 0.573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001319/0.7017, allocations: 0.6855 MB / 0.6623 GB, free: 25.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.7017, allocations: 10.16 kB / 0.6623 GB, free: 25.91 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.7017, allocations: 2.656 kB / 0.6623 GB, free: 25.91 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006338/0.7024, allocations: 145.3 kB / 0.6624 GB, free: 25.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003551/0.7027, allocations: 100.2 kB / 0.6625 GB, free: 25.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.7054, allocations: 2.445 MB / 0.6649 GB, free: 24.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/0.7058, allocations: 15.34 kB / 0.6649 GB, free: 24.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.51e-05/0.7059, allocations: 29.8 kB / 0.665 GB, free: 24.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003983/0.7063, allocations: 262 kB / 0.6652 GB, free: 24 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.7065, allocations: 127.4 kB / 0.6653 GB, free: 23.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/0.7082, allocations: 0.9086 MB / 0.6662 GB, free: 23.78 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.7082, allocations: 6.25 kB / 0.6662 GB, free: 23.78 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7082, allocations: 2.094 kB / 0.6662 GB, free: 23.78 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7082, allocations: 3.953 kB / 0.6662 GB, free: 23.78 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/0.7113, allocations: 1.534 MB / 0.6677 GB, free: 23.42 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.7113, allocations: 3.328 kB / 0.6677 GB, free: 23.42 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.7116, allocations: 86.41 kB / 0.6678 GB, free: 23.42 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006735/0.7123, allocations: 144.8 kB / 0.668 GB, free: 23.41 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.745e-05/0.7124, allocations: 20.95 kB / 0.668 GB, free: 23.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003144/0.7155, allocations: 2.455 MB / 0.6704 GB, free: 21.66 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7155, allocations: 2.781 kB / 0.6704 GB, free: 21.66 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/0.7175, allocations: 1.04 MB / 0.6714 GB, free: 21.34 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.7178, allocations: 137.5 kB / 0.6715 GB, free: 21.29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.7e-05/0.7179, allocations: 12.05 kB / 0.6715 GB, free: 21.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.7182, allocations: 17.95 kB / 0.6716 GB, free: 21.29 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.7183, allocations: 49.55 kB / 0.6716 GB, free: 21.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.7184, allocations: 22.7 kB / 0.6716 GB, free: 21.29 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0009039/0.7193, allocations: 0.5967 MB / 0.6722 GB, free: 21.13 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.7193, allocations: 0 / 0.6722 GB, free: 21.13 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0013/0.7206, allocations: 349.9 kB / 0.6725 GB, free: 21.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009914/0.7216, allocations: 0.4902 MB / 0.673 GB, free: 20.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.723, allocations: 0.6733 MB / 0.6737 GB, free: 20.76 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.723, allocations: 0.8125 kB / 0.6737 GB, free: 20.76 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.724, allocations: 496.6 kB / 0.6742 GB, free: 20.55 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001712/0.7257, allocations: 364 kB / 0.6745 GB, free: 20.52 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.7297, allocations: 1.709 MB / 0.6762 GB, free: 19.7 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.7302, allocations: 447 kB / 0.6766 GB, free: 19.59 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00058/0.7308, allocations: 156.6 kB / 0.6767 GB, free: 19.54 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002109/0.731, allocations: 85.56 kB / 0.6768 GB, free: 19.53 MB / 0.573 GB Notification: Performance of SimCode: time 1.803e-06/0.731, allocations: 5.266 kB / 0.6768 GB, free: 19.53 MB / 0.573 GB Notification: Performance of Templates: time 0.03139/0.7624, allocations: 18.58 MB / 0.695 GB, free: 17.28 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.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.513404685072601]