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.001661/0.001661, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.00212/0.00212, allocations: 220.3 kB / 22.25 MB, free: 4.863 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.801 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.7757/0.7757, allocations: 94.62 MB / 407 MB, free: 8.844 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.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: 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.002733/0.002733, allocations: 85.39 kB / 0.5554 GB, free: 38.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1163, allocations: 73.04 MB / 0.6267 GB, free: 15.67 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4828/0.599, allocations: 143 MB / 0.7664 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.6135, allocations: 11.87 MB / 0.778 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.6148, allocations: 55.12 kB / 0.778 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.6169, allocations: 0.5091 MB / 0.7785 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003395/0.6203, allocations: 0.8883 MB / 0.7794 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.6229, allocations: 0.8047 MB / 0.7802 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002225/0.6251, allocations: 1.371 MB / 0.7815 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004847/0.6256, allocations: 191.2 kB / 0.7817 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.6268, allocations: 0.5864 MB / 0.7823 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.628, allocations: 0.6261 MB / 0.7829 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.6282, allocations: 77.19 kB / 0.783 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002938/0.6311, allocations: 1.214 MB / 0.7841 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.6313, allocations: 201.2 kB / 0.7843 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006582/0.632, allocations: 424.7 kB / 0.7847 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002985/0.635, allocations: 1.58 MB / 0.7863 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.635, allocations: 0 / 0.7863 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.635, allocations: 1.031 kB / 0.7863 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.299e-05/0.635, allocations: 0 / 0.7863 GB, free: 2.816 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002759/0.6378, allocations: 1.382 MB / 0.7876 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.6378, allocations: 9.5 kB / 0.7876 GB, free: 18.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.6381, allocations: 138.7 kB / 0.7878 GB, free: 18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.6394, allocations: 0.7048 MB / 0.7885 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/0.6394, allocations: 53.78 kB / 0.7885 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.712e-05/0.6395, allocations: 74.47 kB / 0.7886 GB, free: 17.72 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.6406, allocations: 0.743 MB / 0.7893 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.6406, allocations: 0 / 0.7893 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.6407, allocations: 25.91 kB / 0.7893 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.6407, allocations: 17.91 kB / 0.7893 GB, free: 17.64 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009261/0.6416, allocations: 0.6491 MB / 0.79 GB, free: 17.63 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002776/0.6444, allocations: 1.744 MB / 0.7917 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.6455, allocations: 0.5166 MB / 0.7922 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.6458, allocations: 234.6 kB / 0.7924 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.6475, allocations: 0.8994 MB / 0.7933 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.6476, allocations: 42.62 kB / 0.7933 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 2.575e-06/0.6476, allocations: 0 / 0.7933 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003134/0.6507, allocations: 1.562 MB / 0.7949 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.6508, allocations: 58.06 kB / 0.7949 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007176/0.6515, allocations: 0.655 MB / 0.7956 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.6515, allocations: 36.02 kB / 0.7956 GB, free: 16.23 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.6518, allocations: 455.8 kB / 0.796 GB, free: 16.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001141/0.6519, allocations: 201.7 kB / 0.7962 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.652, allocations: 96.62 kB / 0.7963 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.6522, allocations: 325 kB / 0.7966 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.6525, allocations: 163 kB / 0.7968 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003613/0.6529, allocations: 228.3 kB / 0.797 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006762/0.6535, allocations: 428.9 kB / 0.7974 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6535, allocations: 0.8125 kB / 0.7974 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001233/0.6548, allocations: 0.6488 MB / 0.798 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.6548, allocations: 7.219 kB / 0.798 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.6548, allocations: 0.7812 kB / 0.798 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004175/0.6552, allocations: 116.9 kB / 0.7982 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.6556, allocations: 99.42 kB / 0.7982 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.6577, allocations: 1.899 MB / 0.8001 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000483/0.6582, allocations: 21.02 kB / 0.8001 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.6583, allocations: 17.25 kB / 0.8001 GB, free: 14.16 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: 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.0003988/0.6587, allocations: 210.5 kB / 0.8003 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.659, allocations: 93.36 kB / 0.8004 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.6606, allocations: 0.8669 MB / 0.8013 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.6606, allocations: 5.156 kB / 0.8013 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6606, allocations: 2.906 kB / 0.8013 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.6606, allocations: 5.953 kB / 0.8013 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002365/0.6629, allocations: 1.326 MB / 0.8026 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.6629, allocations: 6.062 kB / 0.8026 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.6633, allocations: 85.47 kB / 0.8027 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003949/0.6637, allocations: 122.9 kB / 0.8028 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.172e-05/0.6637, allocations: 17.84 kB / 0.8028 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.6659, allocations: 1.9 MB / 0.8047 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.6659, allocations: 7.125 kB / 0.8047 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001889/0.6678, allocations: 0.9772 MB / 0.8056 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.668, allocations: 80.84 kB / 0.8057 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.6682, allocations: 13.78 kB / 0.8057 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003544/0.6685, allocations: 17.22 kB / 0.8057 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.6686, allocations: 47.95 kB / 0.8058 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.6687, allocations: 24.84 kB / 0.8058 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006464/0.6693, allocations: 479.3 kB / 0.8063 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6693, allocations: 0.9062 kB / 0.8063 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001015/0.6703, allocations: 332.1 kB / 0.8066 GB, free: 11.32 MB / 0.5919 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.0008363/0.6712, allocations: 483.1 kB / 0.807 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.6725, allocations: 0.5864 MB / 0.8076 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6725, allocations: 0 / 0.8076 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007975/0.6733, allocations: 422.4 kB / 0.808 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.6746, allocations: 250.8 kB / 0.8082 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.6777, allocations: 1.604 MB / 0.8098 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004314/0.6781, allocations: 419 kB / 0.8102 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005485/0.6786, allocations: 144.7 kB / 0.8104 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.6788, allocations: 72.06 kB / 0.8104 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of SimCode: time 9.21e-07/0.6788, allocations: 0.9375 kB / 0.8104 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of Templates: time 0.03011/0.709, allocations: 17.6 MB / 0.8276 GB, free: 3.266 MB / 0.5919 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.480524567887187]