Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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.001368/0.001368, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00146/0.00146, allocations: 213 kB / 22.24 MB, free: 4.855 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: 230.6 MB / 256 MB, free: 7.797 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.8031/0.8031, allocations: 94.62 MB / 407 MB, free: 8.859 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.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [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.002674/0.002674, allocations: 89.73 kB / 0.5554 GB, free: 38.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1279, allocations: 73.06 MB / 0.6268 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.07048/0.1984, allocations: 59.76 MB / 0.6851 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02352/0.2219, allocations: 16.03 MB / 0.7008 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002521/0.2244, allocations: 115 kB / 0.7009 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.2277, allocations: 1.067 MB / 0.7019 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008412/0.2361, allocations: 2.843 MB / 0.7047 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004927/0.2411, allocations: 1.585 MB / 0.7063 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006053/0.2471, allocations: 3.907 MB / 0.7101 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008233/0.2479, allocations: 383 kB / 0.7104 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003299/0.2512, allocations: 1.673 MB / 0.7121 GB, free: 7.977 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.2534, allocations: 1.431 MB / 0.7135 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003587/0.2537, allocations: 195.9 kB / 0.7137 GB, free: 6.348 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004249/0.258, allocations: 1.502 MB / 0.7151 GB, free: 4.844 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005725/0.2585, allocations: 0.4939 MB / 0.7156 GB, free: 4.348 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.2599, allocations: 1.03 MB / 0.7166 GB, free: 3.312 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007012/0.2669, allocations: 3.786 MB / 0.7203 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2669, allocations: 0 / 0.7203 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.844e-06/0.2669, allocations: 0 / 0.7203 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.619e-05/0.267, allocations: 0 / 0.7203 GB, free: 15.51 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.00601/0.273, allocations: 3.001 MB / 0.7232 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.273, allocations: 8.031 kB / 0.7233 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00104/0.2741, allocations: 347.1 kB / 0.7236 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.2767, allocations: 1.355 MB / 0.7249 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.2768, allocations: 144.1 kB / 0.725 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.2771, allocations: 200.3 kB / 0.7252 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/0.2807, allocations: 2.238 MB / 0.7274 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.2808, allocations: 0 / 0.7274 GB, free: 8.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/0.2809, allocations: 76 kB / 0.7275 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.926e-05/0.281, allocations: 48 kB / 0.7275 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/0.2847, allocations: 2.302 MB / 0.7298 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008849/0.2936, allocations: 5.001 MB / 0.7347 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/0.2968, allocations: 1.785 MB / 0.7364 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.2984, allocations: 0.8853 MB / 0.7373 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006438/0.3048, allocations: 2.781 MB / 0.74 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001943/0.3067, allocations: 1.105 MB / 0.7411 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=200): time 5.049e-06/0.3067, allocations: 0 / 0.7411 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=200): time 0.006174/0.3129, allocations: 2.742 MB / 0.7438 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.313, allocations: 158.4 kB / 0.7439 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.3145, allocations: 1.137 MB / 0.745 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.3147, allocations: 61.7 kB / 0.7451 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000794/0.3155, allocations: 0.8757 MB / 0.7459 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/0.3161, allocations: 0.6932 MB / 0.7466 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004858/0.3166, allocations: 323.5 kB / 0.7469 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3167, allocations: 301.1 kB / 0.7472 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.318, allocations: 0.6693 MB / 0.7479 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/0.3196, allocations: 0.9979 MB / 0.7488 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/0.3227, allocations: 1.656 MB / 0.7505 GB, free: 76 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.3227, allocations: 0 / 0.7505 GB, free: 76 kB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.3079/0.6306, allocations: 2.157 MB / 0.7526 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.6306, allocations: 34.72 kB / 0.7526 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.6307, allocations: 5.312 kB / 0.7526 GB, free: 118.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006259/0.6313, allocations: 159.5 kB / 0.7527 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.6327, allocations: 396.7 kB / 0.7531 GB, free: 118.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003262/0.6359, allocations: 4.435 MB / 0.7575 GB, free: 115 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.6371, allocations: 155 kB / 0.7576 GB, free: 114.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.6373, allocations: 85.14 kB / 0.7577 GB, free: 114.9 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007952/0.6381, allocations: 363.1 kB / 0.758 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004771/0.6386, allocations: 199.2 kB / 0.7582 GB, free: 114.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006073/0.6446, allocations: 3.099 MB / 0.7612 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.6447, allocations: 21.38 kB / 0.7613 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.6447, allocations: 3.156 kB / 0.7613 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.07e-05/0.6447, allocations: 9.516 kB / 0.7613 GB, free: 113.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00764/0.6523, allocations: 4.043 MB / 0.7652 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.6523, allocations: 5.625 kB / 0.7652 GB, free: 111.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/0.6539, allocations: 377.3 kB / 0.7656 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000572/0.6545, allocations: 168.3 kB / 0.7658 GB, free: 111.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001399/0.6546, allocations: 68.75 kB / 0.7658 GB, free: 111.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.6579, allocations: 4.437 MB / 0.7702 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.6579, allocations: 2.031 kB / 0.7702 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005926/0.6639, allocations: 3.206 MB / 0.7733 GB, free: 105.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009675/0.6648, allocations: 439 kB / 0.7737 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.6651, allocations: 47.75 kB / 0.7737 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.6658, allocations: 58.84 kB / 0.7738 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/0.6661, allocations: 164.7 kB / 0.774 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.6663, allocations: 86.47 kB / 0.774 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001021/0.6673, allocations: 0.7818 MB / 0.7748 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.6673, allocations: 0 / 0.7748 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00209/0.6694, allocations: 0.8176 MB / 0.7756 GB, free: 105.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (213): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/0.6704, allocations: 0.7754 MB / 0.7764 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003176/0.6735, allocations: 2.132 MB / 0.7784 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6736, allocations: 2.438 kB / 0.7784 GB, free: 103.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.6752, allocations: 1.308 MB / 0.7797 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.6774, allocations: 0.5908 MB / 0.7803 GB, free: 103 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/0.6828, allocations: 3.847 MB / 0.7841 GB, free: 99.62 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.6834, allocations: 0.8948 MB / 0.7849 GB, free: 98.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001308/0.6847, allocations: 463.9 kB / 0.7854 GB, free: 98.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/0.6852, allocations: 219.1 kB / 0.7856 GB, free: 98.45 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/0.6852, allocations: 0 / 0.7856 GB, free: 98.45 MB / 0.5762 GB Notification: Performance of Templates: time 0.04986/0.735, allocations: 41.21 MB / 0.8258 GB, free: 57.85 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.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.429451432079077]