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.001615/0.001615, allocations: 80.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.001764/0.001764, allocations: 163.2 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.379/1.379, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.0/package.mo): time 0.7468/0.7468, allocations: 80.2 MB / 339.4 MB, free: 10.86 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.3.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.623e-06/1.623e-06, allocations: 0 / 0.4929 GB, free: 25.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.529e-05, allocations: 5.516 kB / 0.4929 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1671/0.1671, allocations: 144.8 MB / 0.6343 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01402/0.1811, allocations: 10.28 MB / 0.6443 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009063/0.182, allocations: 59.44 kB / 0.6444 GB, free: 3.918 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001561/0.1836, allocations: 0.5274 MB / 0.6449 GB, free: 3.387 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.1861, allocations: 0.9777 MB / 0.6459 GB, free: 2.402 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00232/0.1885, allocations: 0.8283 MB / 0.6467 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002092/0.1906, allocations: 1.535 MB / 0.6482 GB, free: 32 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004616/0.191, allocations: 199.5 kB / 0.6484 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.1925, allocations: 0.8375 MB / 0.6492 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009273/0.1934, allocations: 0.5727 MB / 0.6497 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.1935, allocations: 76 kB / 0.6498 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.1961, allocations: 1.232 MB / 0.651 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.1964, allocations: 199 kB / 0.6512 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005161/0.1969, allocations: 367 kB / 0.6516 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002674/0.1996, allocations: 1.632 MB / 0.6532 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1996, allocations: 3.938 kB / 0.6532 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1996, allocations: 0 / 0.6532 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.1996, allocations: 0 / 0.6532 GB, free: 10.9 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002586/0.2022, allocations: 1.426 MB / 0.6545 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2022, allocations: 9.469 kB / 0.6546 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002886/0.2025, allocations: 140.1 kB / 0.6547 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.2038, allocations: 0.7276 MB / 0.6554 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.991e-05/0.2039, allocations: 53.94 kB / 0.6555 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.204, allocations: 72 kB / 0.6555 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.2053, allocations: 0.769 MB / 0.6563 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.2053, allocations: 4 kB / 0.6563 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.2054, allocations: 28 kB / 0.6563 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.2054, allocations: 20 kB / 0.6563 GB, free: 7.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.2066, allocations: 0.648 MB / 0.657 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.2099, allocations: 2.014 MB / 0.6589 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.2112, allocations: 0.5311 MB / 0.6594 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004316/0.2116, allocations: 231.1 kB / 0.6597 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00174/0.2133, allocations: 0.9043 MB / 0.6605 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.2134, allocations: 39.06 kB / 0.6606 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=55): time 1.884e-06/0.2134, allocations: 0 / 0.6606 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56): time 0.003616/0.217, allocations: 1.576 MB / 0.6621 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.217, allocations: 59.84 kB / 0.6622 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008636/0.2179, allocations: 0.6889 MB / 0.6628 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.218, allocations: 33.7 kB / 0.6629 GB, free: 0.707 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.2183, allocations: 484.5 kB / 0.6633 GB, free: 236 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.2185, allocations: 198.2 kB / 0.6635 GB, free: 36 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.2187, allocations: 98.33 kB / 0.6636 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.2188, allocations: 322 kB / 0.6639 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.2192, allocations: 169.2 kB / 0.6641 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004346/0.2196, allocations: 254.7 kB / 0.6643 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008579/0.2205, allocations: 457.5 kB / 0.6648 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2205, allocations: 0 / 0.6648 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00145/0.2219, allocations: 0.6732 MB / 0.6654 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.2219, allocations: 8 kB / 0.6654 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2219, allocations: 0 / 0.6654 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004419/0.2224, allocations: 117 kB / 0.6656 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003961/0.2228, allocations: 103.8 kB / 0.6656 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.2251, allocations: 1.902 MB / 0.6675 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.2255, allocations: 15.98 kB / 0.6675 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.534e-05/0.2256, allocations: 24 kB / 0.6675 GB, free: 11.75 MB / 0.5762 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.0003489/0.2259, allocations: 209.8 kB / 0.6677 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.2261, allocations: 91.44 kB / 0.6678 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001762/0.2279, allocations: 0.8609 MB / 0.6687 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.463e-06/0.2279, allocations: 4 kB / 0.6687 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2279, allocations: 8 kB / 0.6687 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.2279, allocations: 3.984 kB / 0.6687 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.2303, allocations: 1.35 MB / 0.67 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.2303, allocations: 4.031 kB / 0.67 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003449/0.2307, allocations: 87.89 kB / 0.6701 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/0.2311, allocations: 116.7 kB / 0.6702 GB, free: 8.93 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.2311, allocations: 23.92 kB / 0.6702 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.2334, allocations: 1.89 MB / 0.6721 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.2334, allocations: 8.094 kB / 0.6721 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/0.2352, allocations: 0.9783 MB / 0.673 GB, free: 5.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001547/0.2354, allocations: 79.36 kB / 0.6731 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.945e-05/0.2355, allocations: 20.05 kB / 0.6731 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003354/0.2358, allocations: 16 kB / 0.6731 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2359, allocations: 52.34 kB / 0.6732 GB, free: 5.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.236, allocations: 23.98 kB / 0.6732 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006573/0.2366, allocations: 0.4912 MB / 0.6737 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2366, allocations: 0 / 0.6737 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009936/0.2376, allocations: 343.4 kB / 0.674 GB, free: 4.887 MB / 0.5762 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.0008155/0.2385, allocations: 0.4989 MB / 0.6745 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001342/0.2398, allocations: 0.5905 MB / 0.6751 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2398, allocations: 0 / 0.6751 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007953/0.2406, allocations: 417.9 kB / 0.6755 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.2422, allocations: 341 kB / 0.6758 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.2456, allocations: 1.668 MB / 0.6774 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.246, allocations: 429.7 kB / 0.6779 GB, free: 0.8672 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004928/0.2465, allocations: 153.9 kB / 0.678 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.2467, allocations: 80.47 kB / 0.6781 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.2467, allocations: 0 / 0.6781 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of Templates: time 0.2146/0.4613, allocations: 18.33 MB / 0.696 GB, free: 180 MB / 0.5919 GB " [Timeout remaining time 660] 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: 5.989823218435049]