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.0007202/0.0007202, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000746/0.000746, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.864/0.864, allocations: 177.1 MB / 203.5 MB, free: 5.605 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.4902/0.4902, allocations: 80.18 MB / 340.1 MB, free: 7.566 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: translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 0.4936 GB, free: 6.359 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.667e-05/1.827e-05, allocations: 2.281 kB / 0.4936 GB, free: 6.355 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.02232/0.02233, allocations: 36.2 MB / 0.529 GB, free: 3.699 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.009335/0.03167, allocations: 12.21 MB / 0.5409 GB, free: 7.445 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006477/0.03232, allocations: 71.31 kB / 0.541 GB, free: 7.375 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.03349, allocations: 0.9166 MB / 0.5418 GB, free: 6.453 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.03534, allocations: 1.49 MB / 0.5433 GB, free: 4.953 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.0369, allocations: 1.062 MB / 0.5443 GB, free: 3.891 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.03813, allocations: 2.177 MB / 0.5465 GB, free: 1.703 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.03839, allocations: 211.7 kB / 0.5467 GB, free: 1.477 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.03972, allocations: 1.418 MB / 0.5481 GB, free: 56 kB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.04017, allocations: 0.5568 MB / 0.5486 GB, free: 15.5 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.851e-05/0.04026, allocations: 92 kB / 0.5487 GB, free: 15.41 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.04127, allocations: 0.8031 MB / 0.5495 GB, free: 14.6 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.04146, allocations: 342.4 kB / 0.5498 GB, free: 14.27 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.04175, allocations: 478.5 kB / 0.5503 GB, free: 13.8 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001578/0.04332, allocations: 2.137 MB / 0.5523 GB, free: 11.65 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.04333, allocations: 3.984 kB / 0.5523 GB, free: 11.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.04333, allocations: 0 / 0.5523 GB, free: 11.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.04334, allocations: 0 / 0.5523 GB, free: 11.65 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.001862/0.0452, allocations: 2.061 MB / 0.5544 GB, free: 9.543 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.04524, allocations: 14.06 kB / 0.5544 GB, free: 9.531 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005038/0.04574, allocations: 226.8 kB / 0.5546 GB, free: 9.309 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.04699, allocations: 1.171 MB / 0.5557 GB, free: 8.098 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.04703, allocations: 66 kB / 0.5558 GB, free: 8.031 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.506e-05/0.0471, allocations: 83.95 kB / 0.5559 GB, free: 7.949 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008699/0.04797, allocations: 0.9341 MB / 0.5568 GB, free: 6.977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.04799, allocations: 4 kB / 0.5568 GB, free: 6.973 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.04803, allocations: 32 kB / 0.5568 GB, free: 6.941 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.04804, allocations: 20 kB / 0.5568 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008134/0.04885, allocations: 0.8119 MB / 0.5576 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.05121, allocations: 2.572 MB / 0.5601 GB, free: 3.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.05188, allocations: 0.608 MB / 0.5607 GB, free: 2.863 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.05219, allocations: 298.7 kB / 0.561 GB, free: 2.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001531/0.05372, allocations: 1.129 MB / 0.5621 GB, free: 1.418 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.05374, allocations: 47.16 kB / 0.5622 GB, free: 1.363 MB / 474.7 MB Notification: Performance of pre-optimization done (n=73): time 1.453e-06/0.05374, allocations: 0 / 0.5622 GB, free: 1.363 MB / 474.7 MB Notification: Performance of matching and sorting (n=73): time 0.001405/0.05515, allocations: 1.065 MB / 0.5632 GB, free: 292 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.05518, allocations: 64.06 kB / 0.5633 GB, free: 216 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009841/0.05616, allocations: 1.345 MB / 0.5646 GB, free: 14.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.05619, allocations: 37.7 kB / 0.5646 GB, free: 14.81 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003128/0.05651, allocations: 0.6595 MB / 0.5653 GB, free: 14.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.05662, allocations: 257.7 kB / 0.5655 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.05674, allocations: 150.5 kB / 0.5656 GB, free: 13.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.754e-05/0.05682, allocations: 330 kB / 0.566 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.05707, allocations: 217.8 kB / 0.5662 GB, free: 13.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.05739, allocations: 390.8 kB / 0.5665 GB, free: 12.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.058, allocations: 0.5782 MB / 0.5671 GB, free: 12.13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.058, allocations: 0 / 0.5671 GB, free: 12.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0009146/0.05891, allocations: 0.857 MB / 0.5679 GB, free: 11.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.05893, allocations: 4 kB / 0.568 GB, free: 11.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.05894, allocations: 7.938 kB / 0.568 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002575/0.05919, allocations: 105.9 kB / 0.5681 GB, free: 11.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.05948, allocations: 151.7 kB / 0.5682 GB, free: 10.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.06136, allocations: 2.943 MB / 0.5711 GB, free: 7.848 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.06161, allocations: 71.62 kB / 0.5711 GB, free: 7.777 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.06165, allocations: 32.23 kB / 0.5712 GB, free: 7.746 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.0003164/0.06196, allocations: 329.6 kB / 0.5715 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.06209, allocations: 163 kB / 0.5716 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.06327, allocations: 1.097 MB / 0.5727 GB, free: 6.137 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.06327, allocations: 4 kB / 0.5727 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.06328, allocations: 4 kB / 0.5727 GB, free: 6.129 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.06329, allocations: 3.984 kB / 0.5727 GB, free: 6.125 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.06494, allocations: 1.709 MB / 0.5744 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.06494, allocations: 0 / 0.5744 GB, free: 4.355 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.06515, allocations: 115.9 kB / 0.5745 GB, free: 4.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.06535, allocations: 113.7 kB / 0.5746 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.06537, allocations: 23.98 kB / 0.5746 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001695/0.06707, allocations: 2.947 MB / 0.5775 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.06707, allocations: 0 / 0.5775 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001163/0.06823, allocations: 1.18 MB / 0.5787 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.0685, allocations: 277 kB / 0.5789 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.06857, allocations: 19.95 kB / 0.579 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.0688, allocations: 27.98 kB / 0.579 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.06888, allocations: 64.42 kB / 0.579 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.06891, allocations: 27.98 kB / 0.5791 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007419/0.06965, allocations: 0.9389 MB / 0.58 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.06965, allocations: 3.938 kB / 0.58 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006532/0.0703, allocations: 419.1 kB / 0.5804 GB, free: 13.97 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.0009455/0.07125, allocations: 0.7525 MB / 0.5811 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008648/0.07211, allocations: 0.7917 MB / 0.5819 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.07211, allocations: 3.938 kB / 0.5819 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004353/0.07255, allocations: 0.5331 MB / 0.5824 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.07391, allocations: 0.4898 MB / 0.5829 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/0.07664, allocations: 2.625 MB / 0.5855 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.07703, allocations: 0.6429 MB / 0.5861 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.07723, allocations: 132.5 kB / 0.5862 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/0.07723, allocations: 0 / 0.5862 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of Templates: time 0.02321/0.1004, allocations: 33.53 MB / 0.619 GB, free: 6.547 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (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 & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 1200] 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: 6.990387829951942]