Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.001203/0.001203, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002733, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001185/0.001185, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001497/0.002682, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9777/0.9777, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08465/1.062, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/package.mo): time 0.6231/0.6231, allocations: 118.6 MB / 362.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06449/0.6876, allocations: 35.85 MB / 398.4 MB, free: 13.26 MB / 394.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1/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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 399.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.087e-05/2.291e-05, allocations: 6.312 kB / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.01096/0.01098, allocations: 13.44 MB / 413.2 MB, free: 14.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007416/0.0184, allocations: 4.433 MB / 417.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.01967, allocations: 75.31 kB / 417.7 MB, free: 9.961 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.0208, allocations: 0.7458 MB / 418.4 MB, free: 9.211 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.02335, allocations: 1.552 MB / 420 MB, free: 7.648 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.02492, allocations: 0.8065 MB / 420.8 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003341/0.02826, allocations: 3.173 MB / 424 MB, free: 3.652 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.02898, allocations: 298.3 kB / 424.2 MB, free: 3.32 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.03217, allocations: 2.073 MB / 426.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.03332, allocations: 0.9112 MB / 427.2 MB, free: 340 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002511/0.03357, allocations: 132 kB / 427.4 MB, free: 208 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1778/0.2114, allocations: 332.5 kB / 427.7 MB, free: 6.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006454/0.212, allocations: 346.5 kB / 428 MB, free: 6.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.2133, allocations: 0.569 MB / 428.6 MB, free: 6.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002785/0.2161, allocations: 1.7 MB / 430.3 MB, free: 6.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.771e-05/0.2161, allocations: 0 / 430.3 MB, free: 6.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2161, allocations: 0 / 430.3 MB, free: 6.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.653e-05/0.2162, allocations: 1.312 kB / 430.3 MB, free: 6.539 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.003885/0.2201, allocations: 2.927 MB / 433.2 MB, free: 5.293 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2201, allocations: 10.61 kB / 433.2 MB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006568/0.2208, allocations: 341.4 kB / 433.6 MB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.2224, allocations: 1.124 MB / 434.7 MB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.2225, allocations: 101.9 kB / 434.8 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.2226, allocations: 135.3 kB / 434.9 MB, free: 4.832 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001286/0.2239, allocations: 1.014 MB / 435.9 MB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.2239, allocations: 1.562 kB / 435.9 MB, free: 4.621 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.336e-05/0.224, allocations: 54.53 kB / 436 MB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/0.224, allocations: 30.81 kB / 436 MB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006986/0.2247, allocations: 0.5183 MB / 436.5 MB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.228, allocations: 2.649 MB / 439.2 MB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007271/0.2287, allocations: 0.807 MB / 440 MB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.2289, allocations: 289.1 kB / 440.3 MB, free: 3.719 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/0.2308, allocations: 1.453 MB / 441.7 MB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004745/0.2313, allocations: 0.5391 MB / 442.3 MB, free: 3.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 3.076e-06/0.2313, allocations: 3.562 kB / 442.3 MB, free: 3.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=139): time 0.001177/0.2325, allocations: 0.9523 MB / 443.2 MB, free: 3.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.2325, allocations: 123.1 kB / 443.3 MB, free: 3.031 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007365/0.2333, allocations: 1.061 MB / 444.4 MB, free: 2.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/0.2333, allocations: 51.7 kB / 444.5 MB, free: 2.828 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002432/0.2336, allocations: 0.5211 MB / 445 MB, free: 2.555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.2338, allocations: 488.7 kB / 445.4 MB, free: 2.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002415/0.234, allocations: 243.8 kB / 445.7 MB, free: 2.203 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.2341, allocations: 361.7 kB / 446 MB, free: 1.898 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.2343, allocations: 183.4 kB / 446.2 MB, free: 1.859 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.2346, allocations: 0.5333 MB / 446.8 MB, free: 1.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000506/0.2351, allocations: 0.6305 MB / 447.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2351, allocations: 0 / 447.4 MB, free: 1.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.0007699/0.2358, allocations: 0.8008 MB / 448.2 MB, free: 17.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/0.2359, allocations: 32.89 kB / 448.2 MB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.2359, allocations: 6.328 kB / 448.2 MB, free: 17.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002366/0.2361, allocations: 97.94 kB / 448.3 MB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.2367, allocations: 324.7 kB / 448.6 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.2379, allocations: 2.551 MB / 451.2 MB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.2384, allocations: 115 kB / 451.3 MB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.21e-05/0.2385, allocations: 44.19 kB / 451.3 MB, free: 14.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 1 * 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.0002748/0.2387, allocations: 181.6 kB / 451.5 MB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.2389, allocations: 152.8 kB / 451.7 MB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001357/0.2402, allocations: 1.319 MB / 453 MB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.2402, allocations: 14.58 kB / 453 MB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2402, allocations: 8 kB / 453 MB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.2402, allocations: 7.969 kB / 453 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001989/0.2422, allocations: 1.664 MB / 454.7 MB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.2422, allocations: 3.984 kB / 454.7 MB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004824/0.2427, allocations: 275.4 kB / 455 MB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/0.2431, allocations: 267.7 kB / 455.2 MB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002246/0.2433, allocations: 107.8 kB / 455.3 MB, free: 11.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/0.2434, allocations: 36.47 kB / 455.4 MB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001366/0.2447, allocations: 2.548 MB / 457.9 MB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.2448, allocations: 4.781 kB / 457.9 MB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.2458, allocations: 1.121 MB / 459 MB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.2459, allocations: 35.58 kB / 459.1 MB, free: 7.504 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.2462, allocations: 47.17 kB / 459.1 MB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.2464, allocations: 107 kB / 459.2 MB, free: 7.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/0.2464, allocations: 29.98 kB / 459.2 MB, free: 7.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005819/0.247, allocations: 0.5633 MB / 459.8 MB, free: 6.914 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.247, allocations: 0 / 459.8 MB, free: 6.914 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009628/0.248, allocations: 496.6 kB / 460.3 MB, free: 6.469 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001212/0.2492, allocations: 0.5375 MB / 460.8 MB, free: 6.266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000995/0.2502, allocations: 0.9622 MB / 461.8 MB, free: 5.336 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.242e-05/0.2502, allocations: 35.11 kB / 461.8 MB, free: 5.309 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004885/0.2507, allocations: 0.6224 MB / 462.4 MB, free: 4.727 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/0.2521, allocations: 0.7769 MB / 463.2 MB, free: 4.094 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/0.271, allocations: 3.103 MB / 466.3 MB, free: 1.121 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002422/0.2712, allocations: 319.2 kB / 466.6 MB, free: 0.793 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001069/0.2723, allocations: 340.8 kB / 467 MB, free: 496 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007919/0.2731, allocations: 0.493 MB / 467.5 MB, free: 20 kB / 426.7 MB Notification: Performance of SimCode: time 1.763e-06/0.2731, allocations: 0 / 467.5 MB, free: 20 kB / 426.7 MB Notification: Performance of Templates: time 0.0348/0.3079, allocations: 29.31 MB / 496.8 MB, free: 3.637 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1755355801433325]