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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo): time 0.6356/0.6356, allocations: 90.29 MB / 394.8 MB, free: 3.84 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002399/0.002399, allocations: 83.86 kB / 0.5387 GB, free: 1.609 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4772, allocations: 70.82 MB / 0.6078 GB, free: 7.617 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.2143/0.6915, allocations: 165.2 MB / 0.7692 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01925/0.7108, allocations: 13.02 MB / 0.7819 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.7121, allocations: 23.88 kB / 0.7819 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.7144, allocations: 0.5708 MB / 0.7824 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003302/0.7177, allocations: 0.8387 MB / 0.7833 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.721, allocations: 0.8213 MB / 0.7841 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002402/0.7234, allocations: 1.24 MB / 0.7853 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005036/0.7239, allocations: 194.6 kB / 0.7855 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.725, allocations: 0.498 MB / 0.7859 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009292/0.7259, allocations: 0.6577 MB / 0.7866 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.726, allocations: 76 kB / 0.7867 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.7294, allocations: 1.415 MB / 0.788 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.7296, allocations: 183.2 kB / 0.7882 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006101/0.7302, allocations: 485.6 kB / 0.7887 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003015/0.7333, allocations: 1.451 MB / 0.7901 GB, free: 172 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.7333, allocations: 4 kB / 0.7901 GB, free: 168 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7333, allocations: 0 / 0.7901 GB, free: 168 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.7333, allocations: 4 kB / 0.7901 GB, free: 164 kB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002611/0.7359, allocations: 1.327 MB / 0.7914 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.7359, allocations: 11.97 kB / 0.7914 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.7362, allocations: 112.3 kB / 0.7915 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009662/0.7371, allocations: 0.5623 MB / 0.7921 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.855e-05/0.7372, allocations: 50.38 kB / 0.7921 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.7373, allocations: 80.31 kB / 0.7922 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.7387, allocations: 0.7393 MB / 0.7929 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.7387, allocations: 0 / 0.7929 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.7388, allocations: 28 kB / 0.7929 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.567e-05/0.7388, allocations: 20 kB / 0.793 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.74, allocations: 0.6286 MB / 0.7936 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.7441, allocations: 3.074 MB / 0.7966 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.7454, allocations: 0.5324 MB / 0.7971 GB, free: 8.57 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/0.7458, allocations: 226.4 kB / 0.7973 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002967/0.7488, allocations: 2.596 MB / 0.7998 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.7488, allocations: 39.12 kB / 0.7999 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=55): time 2.325e-06/0.7488, allocations: 3.938 kB / 0.7999 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of matching and sorting (n=56): time 0.003701/0.7525, allocations: 1.744 MB / 0.8016 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.7526, allocations: 59.97 kB / 0.8017 GB, free: 3.379 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007997/0.7534, allocations: 0.5745 MB / 0.8022 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.7534, allocations: 37.64 kB / 0.8022 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.7537, allocations: 392.8 kB / 0.8026 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.7539, allocations: 198.3 kB / 0.8028 GB, free: 2.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.7541, allocations: 90.25 kB / 0.8029 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002397/0.7543, allocations: 378.8 kB / 0.8033 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/0.7547, allocations: 169 kB / 0.8034 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004106/0.7551, allocations: 223.2 kB / 0.8036 GB, free: 1.293 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.7559, allocations: 427.8 kB / 0.804 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.7559, allocations: 4 kB / 0.804 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001286/0.7571, allocations: 0.6358 MB / 0.8047 GB, free: 212 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.7572, allocations: 4 kB / 0.8047 GB, free: 208 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.7572, allocations: 4 kB / 0.8047 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/0.7576, allocations: 112.8 kB / 0.8048 GB, free: 88 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003797/0.758, allocations: 95.94 kB / 0.8049 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/0.7605, allocations: 2.055 MB / 0.8069 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.7609, allocations: 20.02 kB / 0.8069 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.761, allocations: 20 kB / 0.8069 GB, free: 13.76 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 50 * 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.0003638/0.7613, allocations: 200.5 kB / 0.8071 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.7615, allocations: 71.53 kB / 0.8072 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.7632, allocations: 0.8625 MB / 0.808 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.7632, allocations: 4 kB / 0.808 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.7632, allocations: 0 / 0.808 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.7632, allocations: 7.984 kB / 0.808 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.7658, allocations: 1.484 MB / 0.8095 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.7658, allocations: 8 kB / 0.8095 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.7661, allocations: 87.89 kB / 0.8096 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/0.7665, allocations: 120.8 kB / 0.8097 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.7665, allocations: 19.92 kB / 0.8097 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.769, allocations: 2.055 MB / 0.8117 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.769, allocations: 4.047 kB / 0.8117 GB, free: 8.598 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.7708, allocations: 0.9651 MB / 0.8127 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.771, allocations: 148.6 kB / 0.8128 GB, free: 7.441 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.981e-05/0.7711, allocations: 12 kB / 0.8128 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003216/0.7714, allocations: 19.98 kB / 0.8128 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.7715, allocations: 52.48 kB / 0.8129 GB, free: 7.355 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/0.7716, allocations: 19.98 kB / 0.8129 GB, free: 7.336 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005931/0.7722, allocations: 439.1 kB / 0.8133 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.7722, allocations: 0 / 0.8133 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001026/0.7732, allocations: 327.4 kB / 0.8136 GB, free: 6.594 MB / 0.6387 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.0008773/0.7741, allocations: 487 kB / 0.8141 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.7755, allocations: 0.5918 MB / 0.8147 GB, free: 5.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.7755, allocations: 4 kB / 0.8147 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0007715/0.7762, allocations: 406.2 kB / 0.8151 GB, free: 5.09 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.7776, allocations: 257.1 kB / 0.8153 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.7804, allocations: 1.439 MB / 0.8167 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007072/0.7811, allocations: 0.965 MB / 0.8177 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004646/0.7816, allocations: 128.8 kB / 0.8178 GB, free: 2.246 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.7818, allocations: 63.42 kB / 0.8178 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of SimCode: time 8.61e-07/0.7818, allocations: 4 kB / 0.8178 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of Templates: time 0.03131/0.8131, allocations: 16.57 MB / 0.834 GB, free: 1.715 MB / 0.6544 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1200] 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: 6.673110692761838]