Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.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.001329/0.001329, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001037/0.001037, allocations: 169 kB / 23.02 MB, free: 1.551 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.9924/0.9924, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7151/0.7151, allocations: 118.6 MB / 378.6 MB, free: 1.492 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.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: translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|source1.outlet.m_flow|source2.outlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 483.6 MB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.074e-05, allocations: 2.312 kB / 483.6 MB, free: 8.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.01192/0.01195, allocations: 12.83 MB / 496.4 MB, free: 15.61 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006761/0.01871, allocations: 3.922 MB / 0.4886 GB, free: 12.88 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.01997, allocations: 115.2 kB / 0.4887 GB, free: 12.8 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008036/0.02078, allocations: 372.4 kB / 0.4891 GB, free: 12.58 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002559/0.02334, allocations: 1.239 MB / 0.4903 GB, free: 11.72 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.02531, allocations: 0.8045 MB / 0.4911 GB, free: 11.28 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.02907, allocations: 3.019 MB / 0.494 GB, free: 9.508 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005289/0.0296, allocations: 316 kB / 0.4943 GB, free: 9.199 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.03219, allocations: 1.564 MB / 0.4959 GB, free: 7.949 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.03319, allocations: 0.7778 MB / 0.4966 GB, free: 7.32 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.03342, allocations: 128 kB / 0.4967 GB, free: 7.195 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.03415, allocations: 301.8 kB / 0.497 GB, free: 6.926 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.03444, allocations: 372.3 kB / 0.4974 GB, free: 6.613 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.03547, allocations: 0.6481 MB / 0.498 GB, free: 6.016 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.03742, allocations: 1.782 MB / 0.4998 GB, free: 4.453 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.03742, allocations: 4 kB / 0.4998 GB, free: 4.449 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.03742, allocations: 0 / 0.4998 GB, free: 4.449 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.03745, allocations: 0 / 0.4998 GB, free: 4.449 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.002881/0.04033, allocations: 2.508 MB / 0.5022 GB, free: 1.891 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.04037, allocations: 11.97 kB / 0.5022 GB, free: 1.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005554/0.04093, allocations: 403 kB / 0.5026 GB, free: 1.484 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/0.0427, allocations: 1.433 MB / 0.504 GB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.675e-05/0.04276, allocations: 90.7 kB / 0.5041 GB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.04289, allocations: 132.3 kB / 0.5042 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001474/0.04437, allocations: 0.9991 MB / 0.5052 GB, free: 14.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.04439, allocations: 7.875 kB / 0.5052 GB, free: 14.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-05/0.04449, allocations: 48 kB / 0.5053 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.04452, allocations: 32 kB / 0.5053 GB, free: 14.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008048/0.04533, allocations: 0.5635 MB / 0.5058 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003799/0.04913, allocations: 3.869 MB / 0.5096 GB, free: 10.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009512/0.05008, allocations: 0.7748 MB / 0.5104 GB, free: 9.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.05043, allocations: 294.9 kB / 0.5107 GB, free: 8.977 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00208/0.05251, allocations: 1.341 MB / 0.512 GB, free: 7.613 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/0.05256, allocations: 46.39 kB / 0.512 GB, free: 7.559 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.966e-06/0.05256, allocations: 3.938 kB / 0.512 GB, free: 7.555 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.001935/0.0545, allocations: 1.115 MB / 0.5131 GB, free: 6.418 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.05453, allocations: 68.34 kB / 0.5132 GB, free: 6.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.05573, allocations: 1.326 MB / 0.5145 GB, free: 5.008 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.05578, allocations: 45.7 kB / 0.5145 GB, free: 4.957 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004808/0.05626, allocations: 0.9082 MB / 0.5154 GB, free: 4.039 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.05644, allocations: 349 kB / 0.5157 GB, free: 3.695 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.05662, allocations: 180.2 kB / 0.5159 GB, free: 3.512 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.05676, allocations: 0.516 MB / 0.5164 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.05699, allocations: 157.8 kB / 0.5165 GB, free: 2.832 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.05748, allocations: 0.67 MB / 0.5172 GB, free: 1.992 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008054/0.05829, allocations: 0.5993 MB / 0.5178 GB, free: 1.312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.0583, allocations: 0 / 0.5178 GB, free: 1.312 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001966/0.06026, allocations: 0.9401 MB / 0.5187 GB, free: 360 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.06029, allocations: 8 kB / 0.5187 GB, free: 352 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.0603, allocations: 4 kB / 0.5187 GB, free: 348 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.06097, allocations: 195.3 kB / 0.5189 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.06137, allocations: 195.7 kB / 0.5191 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002875/0.06425, allocations: 5.604 MB / 0.5246 GB, free: 9.973 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.06464, allocations: 95.39 kB / 0.5247 GB, free: 9.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.0647, allocations: 39.98 kB / 0.5247 GB, free: 9.84 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0002693/0.06497, allocations: 212.3 kB / 0.5249 GB, free: 9.621 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.06515, allocations: 218.8 kB / 0.5251 GB, free: 9.406 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001718/0.06687, allocations: 1.312 MB / 0.5264 GB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.06688, allocations: 12 kB / 0.5264 GB, free: 8.047 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.06688, allocations: 3.938 kB / 0.5264 GB, free: 8.043 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.06689, allocations: 3.984 kB / 0.5264 GB, free: 8.039 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/0.06899, allocations: 1.965 MB / 0.5283 GB, free: 5.977 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.06899, allocations: 3.938 kB / 0.5283 GB, free: 5.973 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.06926, allocations: 139.8 kB / 0.5285 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.0697, allocations: 207 kB / 0.5287 GB, free: 5.621 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.06974, allocations: 23.98 kB / 0.5287 GB, free: 5.598 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/0.07242, allocations: 5.617 MB / 0.5342 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.07242, allocations: 0 / 0.5342 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.07369, allocations: 1.213 MB / 0.5353 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002895/0.07398, allocations: 254.5 kB / 0.5356 GB, free: 14.09 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.07407, allocations: 24.03 kB / 0.5356 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.07433, allocations: 23.98 kB / 0.5356 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.07445, allocations: 76.86 kB / 0.5357 GB, free: 13.96 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-05/0.07449, allocations: 32.17 kB / 0.5357 GB, free: 13.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007775/0.07527, allocations: 0.8468 MB / 0.5366 GB, free: 13.06 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07527, allocations: 0 / 0.5366 GB, free: 13.06 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008449/0.07611, allocations: 455.1 kB / 0.537 GB, free: 12.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.inlet.m_flow,flowResistance2.inlet.m_flow,flowResistance4.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 (80): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (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.0002797/0.07639, allocations: 171 kB / 0.5372 GB, free: 12.44 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.07746, allocations: 1.091 MB / 0.5382 GB, free: 11.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.07747, allocations: 0 / 0.5382 GB, free: 11.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005735/0.07804, allocations: 0.8404 MB / 0.5391 GB, free: 10.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001865/0.07991, allocations: 0.7296 MB / 0.5398 GB, free: 9.699 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003695/0.0836, allocations: 2.878 MB / 0.5426 GB, free: 6.746 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.0838, allocations: 278 kB / 0.5428 GB, free: 6.453 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000581/0.08438, allocations: 267.9 kB / 0.5431 GB, free: 6.184 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/0.0846, allocations: 144.4 kB / 0.5432 GB, free: 6.043 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0846, allocations: 0 / 0.5432 GB, free: 6.043 MB / 474.7 MB Notification: Performance of Templates: time 0.03734/0.1219, allocations: 25.63 MB / 0.5683 GB, free: 13.06 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.BasicControlValve_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.694101945031434]