Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_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.001503/0.001503, allocations: 103.9 kB / 16.45 MB, free: 6.445 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.001447/0.001447, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.408/1.408, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0-main/package.mo): time 0.5838/0.5838, allocations: 94.6 MB / 397.3 MB, free: 0.5742 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-main/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: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.TanValve,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 84.14 kB / 0.5416 GB, free: 14.04 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3704/0.3727, allocations: 71.84 MB / 0.6118 GB, free: 3.957 MB / 462.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1874/0.56, allocations: 165 MB / 0.7729 GB, free: 24 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01559/0.5756, allocations: 12.98 MB / 0.7856 GB, free: 3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000819/0.5764, allocations: 43.69 kB / 0.7857 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.5779, allocations: 0.5785 MB / 0.7862 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002075/0.58, allocations: 0.8969 MB / 0.7871 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001992/0.582, allocations: 0.8247 MB / 0.7879 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001482/0.5835, allocations: 1.361 MB / 0.7892 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.5839, allocations: 211 kB / 0.7894 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007362/0.5846, allocations: 0.5718 MB / 0.79 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007997/0.5854, allocations: 0.6769 MB / 0.7907 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.5856, allocations: 76 kB / 0.7907 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002535/0.5882, allocations: 1.404 MB / 0.7921 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.5884, allocations: 199.1 kB / 0.7923 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.5888, allocations: 0.5128 MB / 0.7928 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.591, allocations: 1.582 MB / 0.7943 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.591, allocations: 0 / 0.7943 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.172e-06/0.591, allocations: 7.938 kB / 0.7943 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.591, allocations: 0 / 0.7943 GB, free: 10.02 MB / 0.6231 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.002291/0.5933, allocations: 1.47 MB / 0.7958 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5933, allocations: 12.03 kB / 0.7958 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.5934, allocations: 110.7 kB / 0.7959 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.5936, allocations: 128.1 kB / 0.796 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.5949, allocations: 0.7881 MB / 0.7968 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.483e-05/0.5949, allocations: 54 kB / 0.7968 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.595, allocations: 71.95 kB / 0.7969 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.5962, allocations: 0.7352 MB / 0.7976 GB, free: 6.539 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.5962, allocations: 4 kB / 0.7976 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.961e-05/0.5963, allocations: 28 kB / 0.7977 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.5963, allocations: 19.94 kB / 0.7977 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.5974, allocations: 0.6325 MB / 0.7983 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003629/0.601, allocations: 3.109 MB / 0.8013 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.6021, allocations: 0.5323 MB / 0.8018 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/0.6026, allocations: 222.5 kB / 0.8021 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002484/0.6051, allocations: 2.588 MB / 0.8046 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.6051, allocations: 43.06 kB / 0.8046 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=55): time 1.523e-06/0.6051, allocations: 4 kB / 0.8046 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=56): time 0.003329/0.6084, allocations: 1.791 MB / 0.8064 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.6085, allocations: 59.97 kB / 0.8064 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008803/0.6093, allocations: 0.6967 MB / 0.8071 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.6094, allocations: 37.64 kB / 0.8072 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.6097, allocations: 448.9 kB / 0.8076 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.6098, allocations: 202.2 kB / 0.8078 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/0.61, allocations: 90.25 kB / 0.8079 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.6101, allocations: 326 kB / 0.8082 GB, free: 10.85 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003155/0.6104, allocations: 169 kB / 0.8083 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.6108, allocations: 227.2 kB / 0.8085 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.6116, allocations: 431.8 kB / 0.809 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6116, allocations: 3.938 kB / 0.809 GB, free: 10 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001189/0.6128, allocations: 0.6436 MB / 0.8096 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.6128, allocations: 7.984 kB / 0.8096 GB, free: 9.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.302e-05/0.6128, allocations: 4 kB / 0.8096 GB, free: 9.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003828/0.6132, allocations: 112.8 kB / 0.8097 GB, free: 9.227 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.6136, allocations: 95.89 kB / 0.8098 GB, free: 9.133 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/0.6158, allocations: 2.059 MB / 0.8118 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.6161, allocations: 20.02 kB / 0.8118 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.6161, allocations: 19.98 kB / 0.8119 GB, free: 6.898 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.000256/0.6164, allocations: 213.6 kB / 0.8121 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6165, allocations: 91.39 kB / 0.8121 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.6181, allocations: 0.8645 MB / 0.813 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.6182, allocations: 4 kB / 0.813 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.6182, allocations: 4 kB / 0.813 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.6182, allocations: 7.922 kB / 0.813 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002362/0.6205, allocations: 1.539 MB / 0.8145 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6205, allocations: 0 / 0.8145 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.6208, allocations: 91.83 kB / 0.8146 GB, free: 3.977 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.6212, allocations: 116.8 kB / 0.8147 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.6212, allocations: 16 kB / 0.8147 GB, free: 3.844 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.6234, allocations: 2.059 MB / 0.8167 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.6234, allocations: 3.938 kB / 0.8167 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.625, allocations: 0.9728 MB / 0.8177 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.6252, allocations: 164.5 kB / 0.8178 GB, free: 472 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.182e-05/0.6253, allocations: 12 kB / 0.8179 GB, free: 460 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000281/0.6256, allocations: 15.98 kB / 0.8179 GB, free: 444 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.6257, allocations: 56.44 kB / 0.8179 GB, free: 384 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.6257, allocations: 19.98 kB / 0.8179 GB, free: 364 kB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007463/0.6264, allocations: 0.5068 MB / 0.8184 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.6264, allocations: 0 / 0.8184 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007698/0.6272, allocations: 335.4 kB / 0.8188 GB, free: 15.53 MB / 0.6544 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.002606/0.6298, allocations: 1.888 MB / 0.8206 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.6309, allocations: 0.5882 MB / 0.8212 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6309, allocations: 8.062 kB / 0.8212 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007101/0.6316, allocations: 421.6 kB / 0.8216 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.6328, allocations: 279.2 kB / 0.8218 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009055/0.6419, allocations: 6.308 MB / 0.828 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.6425, allocations: 1.009 MB / 0.829 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004626/0.6429, allocations: 149.9 kB / 0.8291 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.6434, allocations: 379.3 kB / 0.8295 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/0.6434, allocations: 0 / 0.8295 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06142/0.7048, allocations: 25.91 MB / 0.8548 GB, free: 10.55 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.3, allocations: 10.86 kB / 0.8548 GB, free: 10.55 MB / 0.6856 GB " [Timeout remaining time 648] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve_fmu --startTime=0 --stopTime=100 --stepSize=0.1 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_TanValve.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_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: 15.752019231207669]