Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.00111/0.00111, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009247/0.0009247, allocations: 165.9 kB / 22.45 MB, free: 2.113 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 1.105/1.105, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 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.7319/0.7319, allocations: 80.17 MB / 339.4 MB, free: 7.547 MB / 314.7 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: "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.FlowControl.Tests.SpecificValveType,fileNamePrefix="ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.417e-06/3.417e-06, allocations: 0 / 0.4924 GB, free: 6.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.554e-05/3.895e-05, allocations: 4.531 kB / 0.4924 GB, free: 6.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.02968/0.02972, allocations: 36.21 MB / 0.5277 GB, free: 4.16 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01407/0.04379, allocations: 12.22 MB / 0.5397 GB, free: 7.898 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.04533, allocations: 75.31 kB / 0.5397 GB, free: 7.824 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.04718, allocations: 0.9088 MB / 0.5406 GB, free: 6.91 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003502/0.05068, allocations: 1.482 MB / 0.5421 GB, free: 5.418 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.0538, allocations: 1.065 MB / 0.5431 GB, free: 4.352 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002085/0.05588, allocations: 2.185 MB / 0.5452 GB, free: 2.156 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003597/0.05624, allocations: 207.7 kB / 0.5454 GB, free: 1.934 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00161/0.05785, allocations: 1.414 MB / 0.5468 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006323/0.05848, allocations: 0.5607 MB / 0.5474 GB, free: 15.95 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.05862, allocations: 96 kB / 0.5475 GB, free: 15.86 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.06054, allocations: 0.7992 MB / 0.5482 GB, free: 15.06 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002821/0.06082, allocations: 342.4 kB / 0.5486 GB, free: 14.72 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003639/0.06119, allocations: 478.5 kB / 0.549 GB, free: 14.25 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00261/0.0638, allocations: 2.141 MB / 0.5511 GB, free: 12.11 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.0638, allocations: 0 / 0.5511 GB, free: 12.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.06381, allocations: 0 / 0.5511 GB, free: 12.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.25e-05/0.06383, allocations: 0 / 0.5511 GB, free: 12.11 MB / 474.7 MB 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.002626/0.06646, allocations: 2.065 MB / 0.5531 GB, free: 9.996 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.0665, allocations: 13.47 kB / 0.5531 GB, free: 9.984 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000108/0.06661, allocations: 135.2 kB / 0.5533 GB, free: 9.844 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.06693, allocations: 222.6 kB / 0.5535 GB, free: 9.625 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.06855, allocations: 1.163 MB / 0.5546 GB, free: 8.422 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.0686, allocations: 66 kB / 0.5547 GB, free: 8.355 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.06869, allocations: 83.95 kB / 0.5548 GB, free: 8.273 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.06979, allocations: 0.9419 MB / 0.5557 GB, free: 7.293 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.06981, allocations: 3.938 kB / 0.5557 GB, free: 7.289 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.06986, allocations: 32 kB / 0.5557 GB, free: 7.258 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/0.06987, allocations: 20 kB / 0.5557 GB, free: 7.238 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.07079, allocations: 0.808 MB / 0.5565 GB, free: 6.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.07409, allocations: 2.696 MB / 0.5592 GB, free: 3.664 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000889/0.07498, allocations: 0.5979 MB / 0.5597 GB, free: 3.059 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.07533, allocations: 298.7 kB / 0.56 GB, free: 2.766 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001551/0.07688, allocations: 1.143 MB / 0.5611 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/0.07693, allocations: 43.22 kB / 0.5612 GB, free: 1.551 MB / 474.7 MB Notification: Performance of pre-optimization done (n=73): time 2.495e-06/0.07693, allocations: 0 / 0.5612 GB, free: 1.551 MB / 474.7 MB Notification: Performance of matching and sorting (n=73): time 0.001669/0.0786, allocations: 1.084 MB / 0.5622 GB, free: 464 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.07865, allocations: 64.05 kB / 0.5623 GB, free: 388 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.07993, allocations: 1.403 MB / 0.5637 GB, free: 14.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.07997, allocations: 33.7 kB / 0.5637 GB, free: 14.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007991/0.08077, allocations: 0.6599 MB / 0.5643 GB, free: 14.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.08091, allocations: 265.7 kB / 0.5646 GB, free: 14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.08105, allocations: 146.5 kB / 0.5647 GB, free: 13.85 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.883e-05/0.08115, allocations: 326 kB / 0.5651 GB, free: 13.52 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.08141, allocations: 213.9 kB / 0.5653 GB, free: 13.32 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.0818, allocations: 398.8 kB / 0.5656 GB, free: 12.87 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.0825, allocations: 0.5743 MB / 0.5662 GB, free: 12.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.0825, allocations: 0 / 0.5662 GB, free: 12.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001026/0.08353, allocations: 0.8647 MB / 0.567 GB, free: 11.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.08355, allocations: 4 kB / 0.567 GB, free: 11.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.08356, allocations: 4 kB / 0.567 GB, free: 11.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/0.0839, allocations: 106 kB / 0.5671 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/0.08421, allocations: 143.8 kB / 0.5673 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.0864, allocations: 2.993 MB / 0.5702 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.08671, allocations: 71.5 kB / 0.5703 GB, free: 7.824 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.221e-05/0.08676, allocations: 31.98 kB / 0.5703 GB, free: 7.793 MB / 490.7 MB 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.0003827/0.08714, allocations: 338.2 kB / 0.5706 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001507/0.08729, allocations: 170.8 kB / 0.5708 GB, free: 7.285 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.08899, allocations: 1.098 MB / 0.5719 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.089, allocations: 12.12 kB / 0.5719 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.08901, allocations: 8 kB / 0.5719 GB, free: 6.148 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.078e-06/0.08902, allocations: 7.984 kB / 0.5719 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.09114, allocations: 1.8 MB / 0.5737 GB, free: 4.266 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.09115, allocations: 4 kB / 0.5737 GB, free: 4.262 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.09138, allocations: 112 kB / 0.5738 GB, free: 4.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002384/0.09161, allocations: 113.5 kB / 0.5739 GB, free: 4.035 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/0.09166, allocations: 23.98 kB / 0.5739 GB, free: 4.012 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.09367, allocations: 2.993 MB / 0.5768 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.09367, allocations: 4 kB / 0.5768 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.09521, allocations: 1.197 MB / 0.578 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.09554, allocations: 276.6 kB / 0.5783 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/0.09562, allocations: 19.92 kB / 0.5783 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.09586, allocations: 24 kB / 0.5783 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.09598, allocations: 56.55 kB / 0.5783 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.09601, allocations: 23.98 kB / 0.5784 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009895/0.097, allocations: 0.9837 MB / 0.5793 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.097, allocations: 0 / 0.5793 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001097/0.0981, allocations: 411.2 kB / 0.5797 GB, free: 13.77 MB / 0.4948 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.00321/0.1013, allocations: 2.4 MB / 0.5821 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.1024, allocations: 0.7916 MB / 0.5828 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1024, allocations: 0 / 0.5828 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.1029, allocations: 0.5292 MB / 0.5834 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/0.1044, allocations: 0.5424 MB / 0.5839 GB, free: 9.594 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.1152, allocations: 9.468 MB / 0.5931 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.1158, allocations: 0.6354 MB / 0.5938 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007752/0.1165, allocations: 240.8 kB / 0.594 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005487/0.1171, allocations: 0.5784 MB / 0.5945 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of SimCode: time 6.202e-06/0.1171, allocations: 0 / 0.5945 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06366/0.1808, allocations: 39.67 MB / 0.6333 GB, free: 7.188 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.708/9.889, allocations: 2.969 kB / 0.6333 GB, free: 7.188 MB / 0.5417 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_FlowControl_Tests_SpecificValveType.fmu > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1260.0] diffSimulationResults("ThermofluidStream_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_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: 13.590150998905301]