Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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.0007699/0.0007699, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008475/0.0008475, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8644/0.8644, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.6103/0.6103, allocations: 116 MB / 375.2 MB, free: 4.207 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.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.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.77e-05, allocations: 2.281 kB / 0.5532 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.02257/0.02259, allocations: 36.25 MB / 0.5886 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.009058/0.03164, allocations: 12.25 MB / 0.6006 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005676/0.03221, allocations: 75.25 kB / 0.6007 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001267/0.03348, allocations: 0.9127 MB / 0.6016 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002059/0.03554, allocations: 1.494 MB / 0.603 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.03733, allocations: 1.081 MB / 0.6041 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001643/0.03897, allocations: 2.204 MB / 0.6062 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.03929, allocations: 223.6 kB / 0.6064 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.04098, allocations: 1.426 MB / 0.6078 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005031/0.04148, allocations: 0.5685 MB / 0.6084 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.04159, allocations: 92 kB / 0.6085 GB, free: 4.551 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.04272, allocations: 0.7914 MB / 0.6093 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.04291, allocations: 346.4 kB / 0.6096 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003058/0.04322, allocations: 486.5 kB / 0.6101 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.04482, allocations: 2.176 MB / 0.6122 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.04482, allocations: 0 / 0.6122 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.493e-06/0.04482, allocations: 0 / 0.6122 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.192e-05/0.04484, allocations: 0 / 0.6122 GB, free: 0.7578 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002076/0.04691, allocations: 2.096 MB / 0.6142 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.04695, allocations: 8.031 kB / 0.6142 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.54e-05/0.04704, allocations: 135.2 kB / 0.6144 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002533/0.0473, allocations: 230.6 kB / 0.6146 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.04854, allocations: 1.183 MB / 0.6157 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.04858, allocations: 62 kB / 0.6158 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.04865, allocations: 83.95 kB / 0.6159 GB, free: 12.88 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.04949, allocations: 0.9419 MB / 0.6168 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.0495, allocations: 4 kB / 0.6168 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.04954, allocations: 32 kB / 0.6168 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.04956, allocations: 20 kB / 0.6168 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.05034, allocations: 0.808 MB / 0.6176 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.05269, allocations: 2.686 MB / 0.6203 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.05333, allocations: 0.6011 MB / 0.6208 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/0.05386, allocations: 286.7 kB / 0.6211 GB, free: 7.379 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/0.05511, allocations: 1.092 MB / 0.6222 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.05514, allocations: 43.22 kB / 0.6222 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=73): time 1.613e-06/0.05514, allocations: 0 / 0.6222 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.001361/0.0565, allocations: 1.064 MB / 0.6233 GB, free: 5.141 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.05653, allocations: 60.06 kB / 0.6233 GB, free: 5.066 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.05756, allocations: 1.428 MB / 0.6247 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.05759, allocations: 37.7 kB / 0.6248 GB, free: 3.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.05792, allocations: 0.6679 MB / 0.6254 GB, free: 2.914 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.05804, allocations: 265.6 kB / 0.6257 GB, free: 2.652 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.05817, allocations: 146.6 kB / 0.6258 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.983e-05/0.05825, allocations: 330 kB / 0.6261 GB, free: 2.172 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.05849, allocations: 201.9 kB / 0.6263 GB, free: 1.977 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.0588, allocations: 394.8 kB / 0.6267 GB, free: 1.531 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005738/0.05937, allocations: 0.5587 MB / 0.6272 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.05938, allocations: 7.938 kB / 0.6272 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001116/0.06049, allocations: 0.8452 MB / 0.6281 GB, free: 72 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.06051, allocations: 11.94 kB / 0.6281 GB, free: 60 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.06051, allocations: 4 kB / 0.6281 GB, free: 56 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.06077, allocations: 117.9 kB / 0.6282 GB, free: 15.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.06104, allocations: 147.7 kB / 0.6283 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.06257, allocations: 2.974 MB / 0.6312 GB, free: 12.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.06281, allocations: 79.55 kB / 0.6313 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.06284, allocations: 31.98 kB / 0.6313 GB, free: 12.47 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002962/0.06314, allocations: 325.8 kB / 0.6317 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.06327, allocations: 178.8 kB / 0.6318 GB, free: 11.96 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.0644, allocations: 1.093 MB / 0.6329 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.06441, allocations: 8 kB / 0.6329 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.06441, allocations: 0 / 0.6329 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.06441, allocations: 3.984 kB / 0.6329 GB, free: 10.84 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.06604, allocations: 1.774 MB / 0.6346 GB, free: 9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.06605, allocations: 3.984 kB / 0.6346 GB, free: 8.996 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.06625, allocations: 115.8 kB / 0.6347 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.06643, allocations: 117.6 kB / 0.6349 GB, free: 8.762 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.06646, allocations: 19.98 kB / 0.6349 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001648/0.06811, allocations: 2.985 MB / 0.6378 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.06812, allocations: 3.984 kB / 0.6378 GB, free: 5.52 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.06923, allocations: 1.178 MB / 0.6389 GB, free: 4.305 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.0695, allocations: 276.7 kB / 0.6392 GB, free: 4.035 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.06958, allocations: 20.12 kB / 0.6392 GB, free: 4.016 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.0698, allocations: 23.98 kB / 0.6393 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.007e-05/0.06987, allocations: 60.55 kB / 0.6393 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.948e-05/0.0699, allocations: 23.98 kB / 0.6393 GB, free: 3.906 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007713/0.07067, allocations: 1.004 MB / 0.6403 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.07067, allocations: 0 / 0.6403 GB, free: 2.91 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005536/0.07122, allocations: 407.2 kB / 0.6407 GB, free: 2.512 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002338/0.07356, allocations: 2.377 MB / 0.643 GB, free: 252 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2/0.2735, allocations: 0.77 MB / 0.6438 GB, free: 94.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.2735, allocations: 1.219 kB / 0.6438 GB, free: 94.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006376/0.2742, allocations: 0.5232 MB / 0.6443 GB, free: 94.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.2759, allocations: 0.5422 MB / 0.6448 GB, free: 94.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.2862, allocations: 9.494 MB / 0.6541 GB, free: 90.19 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006673/0.2869, allocations: 0.647 MB / 0.6547 GB, free: 90.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007874/0.2877, allocations: 258 kB / 0.655 GB, free: 89.99 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/0.2881, allocations: 0.5766 MB / 0.6555 GB, free: 89.55 MB / 0.5573 GB Notification: Performance of SimCode: time 1.693e-06/0.2881, allocations: 0 / 0.6555 GB, free: 89.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05511/0.3432, allocations: 39.99 MB / 0.6946 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/7.72, allocations: 11.5 kB / 0.6946 GB, free: 63.11 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_dev_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.SpecificValveType.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: 10.1908202432096]