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.0009566/0.0009566, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001233/0.001233, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.058/1.058, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.7297/0.7297, allocations: 118.6 MB / 379.7 MB, free: 1.355 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 1.392e-06/1.392e-06, allocations: 0 / 484.8 MB, free: 8.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.547e-05, allocations: 5.75 kB / 484.8 MB, free: 8.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.BasicControlValve): time 0.01527/0.0153, allocations: 12.66 MB / 497.5 MB, free: 15.44 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.02755, allocations: 3.896 MB / 0.4897 GB, free: 12.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.03105, allocations: 114.8 kB / 0.4898 GB, free: 12.64 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.03286, allocations: 376.6 kB / 0.4901 GB, free: 12.41 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005493/0.03835, allocations: 1.247 MB / 0.4913 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.0411, allocations: 0.8038 MB / 0.4921 GB, free: 11.1 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.004009/0.04511, allocations: 3.026 MB / 0.4951 GB, free: 9.418 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005099/0.04562, allocations: 312 kB / 0.4954 GB, free: 9.113 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.0479, allocations: 1.599 MB / 0.4969 GB, free: 7.84 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009106/0.04881, allocations: 0.7785 MB / 0.4977 GB, free: 7.211 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.04897, allocations: 132 kB / 0.4978 GB, free: 7.082 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006109/0.04958, allocations: 305 kB / 0.4981 GB, free: 6.809 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002811/0.04987, allocations: 367.5 kB / 0.4985 GB, free: 6.5 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005537/0.05042, allocations: 0.6423 MB / 0.4991 GB, free: 5.906 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.05217, allocations: 1.773 MB / 0.5008 GB, free: 4.324 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.05217, allocations: 0 / 0.5008 GB, free: 4.324 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.05217, allocations: 3.938 kB / 0.5008 GB, free: 4.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.673e-05/0.0522, allocations: 0 / 0.5008 GB, free: 4.32 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.002506/0.05471, allocations: 2.531 MB / 0.5033 GB, free: 1.738 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.05474, allocations: 12.03 kB / 0.5033 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000518/0.05526, allocations: 395 kB / 0.5037 GB, free: 1.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.05676, allocations: 1.413 MB / 0.5051 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.121e-05/0.05682, allocations: 86.7 kB / 0.5052 GB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.05693, allocations: 132.3 kB / 0.5053 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008561/0.05779, allocations: 0.9324 MB / 0.5062 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.05781, allocations: 192 / 0.5062 GB, free: 14.62 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.05787, allocations: 51.94 kB / 0.5062 GB, free: 14.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.05788, allocations: 28 kB / 0.5063 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005091/0.05839, allocations: 447.3 kB / 0.5067 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.06161, allocations: 3.644 MB / 0.5102 GB, free: 10.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.06234, allocations: 0.724 MB / 0.511 GB, free: 9.633 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00025/0.06259, allocations: 250.9 kB / 0.5112 GB, free: 9.383 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001583/0.06417, allocations: 1.344 MB / 0.5125 GB, free: 8.016 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.0642, allocations: 50.38 kB / 0.5126 GB, free: 7.957 MB / 442.7 MB Notification: Performance of pre-optimization done (n=97): time 2.224e-06/0.0642, allocations: 0 / 0.5126 GB, free: 7.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=97): time 0.001358/0.06556, allocations: 1.021 MB / 0.5136 GB, free: 6.914 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.0656, allocations: 72.33 kB / 0.5136 GB, free: 6.832 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008704/0.06647, allocations: 1.286 MB / 0.5149 GB, free: 5.539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.602e-05/0.06651, allocations: 41.7 kB / 0.5149 GB, free: 5.492 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.067, allocations: 0.9353 MB / 0.5158 GB, free: 4.547 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.06717, allocations: 348.9 kB / 0.5162 GB, free: 4.203 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.06734, allocations: 192.2 kB / 0.5163 GB, free: 4.008 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.06747, allocations: 0.512 MB / 0.5168 GB, free: 3.488 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.06762, allocations: 117.9 kB / 0.517 GB, free: 3.371 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.06798, allocations: 0.6425 MB / 0.5176 GB, free: 2.559 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.06844, allocations: 0.5446 MB / 0.5181 GB, free: 1.934 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.06845, allocations: 0 / 0.5181 GB, free: 1.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.0008974/0.06934, allocations: 0.8621 MB / 0.519 GB, free: 1.051 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.06936, allocations: 8 kB / 0.519 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.06937, allocations: 4 kB / 0.519 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004303/0.0698, allocations: 187.1 kB / 0.5192 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.07014, allocations: 187.7 kB / 0.5193 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002468/0.07261, allocations: 5.52 MB / 0.5247 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003607/0.07297, allocations: 89.45 kB / 0.5248 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.07302, allocations: 40.17 kB / 0.5248 GB, free: 10.67 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.0002354/0.07326, allocations: 216.3 kB / 0.5251 GB, free: 10.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001798/0.07344, allocations: 218.8 kB / 0.5253 GB, free: 10.23 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.07469, allocations: 1.285 MB / 0.5265 GB, free: 8.91 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.0747, allocations: 8 kB / 0.5265 GB, free: 8.902 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.0747, allocations: 4 kB / 0.5265 GB, free: 8.898 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.07471, allocations: 3.984 kB / 0.5265 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.07641, allocations: 1.696 MB / 0.5282 GB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.07642, allocations: 4 kB / 0.5282 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.07668, allocations: 139.8 kB / 0.5283 GB, free: 6.973 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003869/0.07707, allocations: 195 kB / 0.5285 GB, free: 6.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.959e-05/0.07711, allocations: 27.98 kB / 0.5285 GB, free: 6.742 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.07946, allocations: 5.513 MB / 0.5339 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.07946, allocations: 4 kB / 0.5339 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.08051, allocations: 1.127 MB / 0.535 GB, free: 15.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002635/0.08077, allocations: 254.5 kB / 0.5353 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.646e-05/0.08087, allocations: 20 kB / 0.5353 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002668/0.08113, allocations: 20 kB / 0.5353 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.08123, allocations: 88.91 kB / 0.5354 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.594e-05/0.08127, allocations: 27.98 kB / 0.5354 GB, free: 15.29 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0005413/0.08181, allocations: 0.7762 MB / 0.5362 GB, free: 14.49 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08181, allocations: 4 kB / 0.5362 GB, free: 14.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000647/0.08246, allocations: 455.1 kB / 0.5366 GB, free: 14.04 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.0002179/0.08267, allocations: 167 kB / 0.5368 GB, free: 13.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000834/0.08351, allocations: 1.025 MB / 0.5378 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.08351, allocations: 0 / 0.5378 GB, free: 12.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.08402, allocations: 0.8132 MB / 0.5386 GB, free: 11.92 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.08554, allocations: 0.722 MB / 0.5393 GB, free: 11.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/0.08868, allocations: 2.869 MB / 0.5421 GB, free: 8.281 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001915/0.08887, allocations: 282.1 kB / 0.5423 GB, free: 7.984 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005209/0.08939, allocations: 271.8 kB / 0.5426 GB, free: 7.711 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008454/0.09023, allocations: 0.5915 MB / 0.5432 GB, free: 7.117 MB / 474.7 MB Notification: Performance of SimCode: time 6.41e-07/0.09023, allocations: 0 / 0.5432 GB, free: 7.117 MB / 474.7 MB Notification: Performance of Templates: time 0.03137/0.1216, allocations: 28.41 MB / 0.5709 GB, free: 11.36 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.444340100046247]