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.001097/0.001097, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001847/0.002944, allocations: 440 kB / 10.41 MB, free: 284 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.0011/0.0011, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002517, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9964/0.9964, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09725/1.094, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.729/0.729, allocations: 118.7 MB / 362.9 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07714/0.8061, allocations: 35.84 MB / 398.7 MB, free: 13.09 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.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="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="source.outlet.m_flow|source1.outlet.m_flow",fileNamePrefix="ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 400 MB, free: 11.79 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.762e-05, allocations: 10.25 kB / 400 MB, free: 11.78 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.SpecificValveType): time 0.01082/0.01085, allocations: 10.43 MB / 410.4 MB, free: 1.309 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.00663/0.01748, allocations: 3.661 MB / 414.1 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001042/0.01852, allocations: 83.19 kB / 414.2 MB, free: 13.55 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.01953, allocations: 0.6255 MB / 414.8 MB, free: 12.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.02156, allocations: 1.086 MB / 415.9 MB, free: 11.83 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.02317, allocations: 0.6894 MB / 416.6 MB, free: 11.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002457/0.02563, allocations: 2.24 MB / 418.8 MB, free: 8.887 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004014/0.02603, allocations: 241.8 kB / 419.1 MB, free: 8.613 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002674/0.02871, allocations: 1.688 MB / 420.7 MB, free: 6.926 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000697/0.0294, allocations: 0.5762 MB / 421.3 MB, free: 6.348 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.02955, allocations: 88 kB / 421.4 MB, free: 6.262 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006808/0.03023, allocations: 267.6 kB / 421.7 MB, free: 6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002335/0.03046, allocations: 278.8 kB / 421.9 MB, free: 5.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.03097, allocations: 422.8 kB / 422.4 MB, free: 5.312 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.0323, allocations: 1.381 MB / 423.7 MB, free: 3.926 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.03231, allocations: 0 / 423.7 MB, free: 3.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.03231, allocations: 0 / 423.7 MB, free: 3.926 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.755e-05/0.03233, allocations: 0 / 423.7 MB, free: 3.926 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.00209/0.03442, allocations: 2.471 MB / 426.2 MB, free: 1.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.03445, allocations: 12.03 kB / 426.2 MB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003038/0.03475, allocations: 224.5 kB / 426.4 MB, free: 1.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.03606, allocations: 1.121 MB / 427.6 MB, free: 4 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.195/0.2311, allocations: 60.2 kB / 427.6 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/0.2313, allocations: 89.16 kB / 427.7 MB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007794/0.232, allocations: 0.6488 MB / 428.4 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.2321, allocations: 0 / 428.4 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.2321, allocations: 33.69 kB / 428.4 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.2321, allocations: 21.03 kB / 428.4 MB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003896/0.2325, allocations: 297 kB / 428.7 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.2351, allocations: 1.896 MB / 430.6 MB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005567/0.2357, allocations: 450.2 kB / 431 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001647/0.2358, allocations: 152.6 kB / 431.2 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.237, allocations: 0.7745 MB / 432 MB, free: 9.941 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2371, allocations: 42.72 kB / 432 MB, free: 9.902 MB / 410.7 MB Notification: Performance of pre-optimization done (n=69): time 1.743e-06/0.2371, allocations: 0.5938 kB / 432 MB, free: 9.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=69): time 0.0009335/0.238, allocations: 0.5724 MB / 432.6 MB, free: 9.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.238, allocations: 64.89 kB / 432.6 MB, free: 9.773 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.2391, allocations: 1.143 MB / 433.8 MB, free: 9.609 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.2391, allocations: 40.52 kB / 433.8 MB, free: 9.578 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.2394, allocations: 454 kB / 434.3 MB, free: 9.441 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.2395, allocations: 255.5 kB / 434.5 MB, free: 9.309 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.2396, allocations: 138.9 kB / 434.6 MB, free: 9.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.258e-05/0.2397, allocations: 334.4 kB / 435 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/0.2397, allocations: 70.91 kB / 435 MB, free: 8.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.2399, allocations: 387.2 kB / 435.4 MB, free: 8.629 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/0.2403, allocations: 341.7 kB / 435.8 MB, free: 8.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2403, allocations: 1.344 kB / 435.8 MB, free: 8.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0005553/0.2408, allocations: 463.5 kB / 436.2 MB, free: 8.457 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2408, allocations: 8.844 kB / 436.2 MB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2408, allocations: 3.281 kB / 436.2 MB, free: 8.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003339/0.2412, allocations: 121.7 kB / 436.3 MB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.2415, allocations: 157.3 kB / 436.5 MB, free: 8.438 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.2426, allocations: 2.548 MB / 439 MB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.2429, allocations: 68.03 kB / 439.1 MB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.2429, allocations: 32.69 kB / 439.1 MB, free: 6.152 MB / 410.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 (75): * Single equations (assignments): 73 * 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.0001797/0.2431, allocations: 148.4 kB / 439.3 MB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.2432, allocations: 114 kB / 439.4 MB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007012/0.2439, allocations: 0.7402 MB / 440.1 MB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.244, allocations: 12.91 kB / 440.1 MB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.244, allocations: 3.938 kB / 440.2 MB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.244, allocations: 7 kB / 440.2 MB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.245, allocations: 1.022 MB / 441.2 MB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.245, allocations: 4.094 kB / 441.2 MB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.2452, allocations: 122.5 kB / 441.3 MB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.2454, allocations: 207.8 kB / 441.5 MB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002611/0.2457, allocations: 124.5 kB / 441.6 MB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2457, allocations: 17.3 kB / 441.6 MB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.2468, allocations: 2.546 MB / 444.2 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2468, allocations: 1.578 kB / 444.2 MB, free: 3.211 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.2474, allocations: 0.6437 MB / 444.8 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.812e-05/0.2475, allocations: 19.33 kB / 444.9 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.2477, allocations: 19.39 kB / 444.9 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.091e-05/0.2478, allocations: 54.08 kB / 444.9 MB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.2478, allocations: 17.05 kB / 444.9 MB, free: 2.996 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004301/0.2483, allocations: 0.6093 MB / 445.6 MB, free: 2.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2483, allocations: 0 / 445.6 MB, free: 2.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006544/0.2489, allocations: 328 kB / 445.9 MB, free: 2.906 MB / 410.7 MB 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 (59): * Single equations (assignments): 57 * 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.001124/0.25, allocations: 0.5202 MB / 446.4 MB, free: 2.801 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005939/0.2506, allocations: 0.5751 MB / 447 MB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.393e-05/0.2507, allocations: 22.86 kB / 447 MB, free: 2.555 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.251, allocations: 480.8 kB / 447.5 MB, free: 2.312 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.2529, allocations: 3.717 MB / 451.2 MB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.2655, allocations: 2.461 MB / 453.6 MB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.2657, allocations: 272.7 kB / 453.9 MB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007316/0.2664, allocations: 223.9 kB / 454.1 MB, free: 13.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006363/0.2671, allocations: 407 kB / 454.5 MB, free: 12.87 MB / 426.7 MB Notification: Performance of SimCode: time 2.895e-06/0.2671, allocations: 0 / 454.5 MB, free: 12.87 MB / 426.7 MB Notification: Performance of Templates: time 0.02687/0.294, allocations: 21.52 MB / 476 MB, free: 8.309 MB / 442.7 MB " [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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.FlowControl.Tests.SpecificValveType_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.SpecificValveType_ref.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.032207383774221]