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.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.001357/0.001357, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001487/0.001487, allocations: 216 kB / 22.26 MB, free: 5.113 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.7732/0.7732, allocations: 100.3 MB / 412.7 MB, free: 3.707 MB / 318.1 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/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: "" <> 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: 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.002424/0.002424, allocations: 86.52 kB / 0.5632 GB, free: 35.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.121, allocations: 74.46 MB / 0.636 GB, free: 7.707 MB / 478.1 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.4968/0.6178, allocations: 165.5 MB / 0.7976 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01319/0.631, allocations: 13.08 MB / 0.8103 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.6322, allocations: 58.72 kB / 0.8104 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.6337, allocations: 0.5838 MB / 0.811 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.6361, allocations: 0.8946 MB / 0.8118 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.6382, allocations: 0.834 MB / 0.8127 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.6399, allocations: 1.366 MB / 0.814 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003524/0.6402, allocations: 212.4 kB / 0.8142 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.6409, allocations: 0.5886 MB / 0.8148 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000853/0.6418, allocations: 0.6773 MB / 0.8154 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.813e-05/0.6419, allocations: 78.09 kB / 0.8155 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.6446, allocations: 1.417 MB / 0.8169 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.6448, allocations: 194.2 kB / 0.8171 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00043/0.6452, allocations: 0.5143 MB / 0.8176 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002137/0.6473, allocations: 1.587 MB / 0.8191 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6473, allocations: 0 / 0.8191 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6473, allocations: 0 / 0.8191 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.107e-05/0.6473, allocations: 0 / 0.8191 GB, free: 10.48 MB / 0.5919 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.00248/0.6498, allocations: 1.386 MB / 0.8205 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.6499, allocations: 9.844 kB / 0.8205 GB, free: 9.445 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001442/0.65, allocations: 113.6 kB / 0.8206 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.6502, allocations: 126.7 kB / 0.8207 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.6514, allocations: 0.7111 MB / 0.8214 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.6515, allocations: 53.53 kB / 0.8215 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/0.6516, allocations: 67.5 kB / 0.8215 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.6527, allocations: 0.7454 MB / 0.8223 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.6527, allocations: 2.25 kB / 0.8223 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.6527, allocations: 25.75 kB / 0.8223 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.6527, allocations: 15.06 kB / 0.8223 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.6538, allocations: 0.6519 MB / 0.8229 GB, free: 7.938 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003678/0.6575, allocations: 3.066 MB / 0.8259 GB, free: 5.145 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/0.6587, allocations: 0.5347 MB / 0.8265 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003606/0.6591, allocations: 224.7 kB / 0.8267 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.6608, allocations: 0.998 MB / 0.8276 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.6608, allocations: 39.84 kB / 0.8277 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=55): time 1.803e-06/0.6608, allocations: 0 / 0.8277 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of matching and sorting (n=56): time 0.003191/0.664, allocations: 1.563 MB / 0.8292 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.664, allocations: 59.28 kB / 0.8293 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007338/0.6648, allocations: 0.695 MB / 0.8299 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.6648, allocations: 35.52 kB / 0.83 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.6652, allocations: 458.9 kB / 0.8304 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.6653, allocations: 194.4 kB / 0.8306 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001251/0.6655, allocations: 96.36 kB / 0.8307 GB, free: 1.867 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6656, allocations: 322.8 kB / 0.831 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.6659, allocations: 162.5 kB / 0.8312 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003475/0.6663, allocations: 229.5 kB / 0.8314 GB, free: 1.324 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008/0.6671, allocations: 430.5 kB / 0.8318 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6671, allocations: 3.938 kB / 0.8318 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001114/0.6682, allocations: 0.6498 MB / 0.8324 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.6682, allocations: 7.688 kB / 0.8324 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6682, allocations: 2.812 kB / 0.8324 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.6686, allocations: 111 kB / 0.8325 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.6689, allocations: 105 kB / 0.8326 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.6711, allocations: 1.939 MB / 0.8345 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.6713, allocations: 15.28 kB / 0.8345 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/0.6714, allocations: 21.05 kB / 0.8346 GB, free: 14.91 MB / 0.6075 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.0003679/0.6718, allocations: 205.2 kB / 0.8348 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.6719, allocations: 95.8 kB / 0.8348 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.6735, allocations: 0.8599 MB / 0.8357 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6735, allocations: 9.016 kB / 0.8357 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6735, allocations: 6.516 kB / 0.8357 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.6735, allocations: 3.938 kB / 0.8357 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.6758, allocations: 1.508 MB / 0.8372 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.6758, allocations: 0 / 0.8372 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.6761, allocations: 92.61 kB / 0.8373 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004031/0.6765, allocations: 120.1 kB / 0.8374 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.6765, allocations: 13.88 kB / 0.8374 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.6788, allocations: 1.943 MB / 0.8393 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6788, allocations: 3.031 kB / 0.8393 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.6803, allocations: 0.9916 MB / 0.8403 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.6805, allocations: 82.25 kB / 0.8403 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/0.6806, allocations: 11.19 kB / 0.8404 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.6809, allocations: 19.61 kB / 0.8404 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.681, allocations: 53.88 kB / 0.8404 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.681, allocations: 20.81 kB / 0.8404 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005663/0.6816, allocations: 0.5051 MB / 0.8409 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.753e-06/0.6816, allocations: 4.062 kB / 0.8409 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008641/0.6824, allocations: 333.2 kB / 0.8413 GB, free: 10.16 MB / 0.6075 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.002639/0.6851, allocations: 1.899 MB / 0.8431 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.6863, allocations: 0.5954 MB / 0.8437 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6863, allocations: 0 / 0.8437 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006857/0.687, allocations: 421.2 kB / 0.8441 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/0.6883, allocations: 272.7 kB / 0.8444 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009143/0.6974, allocations: 6.31 MB / 0.8505 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006267/0.6981, allocations: 1.005 MB / 0.8515 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004542/0.6985, allocations: 153.8 kB / 0.8516 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/0.699, allocations: 375.3 kB / 0.852 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of SimCode: time 1.082e-06/0.699, allocations: 0 / 0.852 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07034/0.7693, allocations: 26.28 MB / 0.8777 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.46/14.23, allocations: 14.89 kB / 0.8777 GB, free: 7.699 MB / 0.6387 GB " [Timeout remaining time 646] (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/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: 17.760113730095327]