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.001138/0.001138, allocations: 77.09 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.001252/0.001252, allocations: 169 kB / 24.06 MB, free: 456 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 0.974/0.974, 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 1.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.0/package.mo): time 0.6955/0.6955, allocations: 118.7 MB / 379.7 MB, free: 1.367 MB / 346.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.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.Undirected.FlowControl.Tests.SpecificValveType,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|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="Time|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 1.342e-06/1.342e-06, allocations: 0 / 484.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.95e-05/2.084e-05, allocations: 5.047 kB / 484.9 MB, free: 8.113 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.SpecificValveType): time 0.009336/0.009357, allocations: 13.32 MB / 498.2 MB, free: 15.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.00644/0.0158, allocations: 4.262 MB / 0.4907 GB, free: 12.09 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009083/0.01671, allocations: 80.41 kB / 0.4907 GB, free: 12.04 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.01791, allocations: 0.716 MB / 0.4914 GB, free: 11.79 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002617/0.02052, allocations: 1.575 MB / 0.493 GB, free: 10.8 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.02229, allocations: 0.8012 MB / 0.4938 GB, free: 10.37 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003276/0.02556, allocations: 3.172 MB / 0.4968 GB, free: 7.977 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004603/0.02602, allocations: 275.8 kB / 0.4971 GB, free: 7.703 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.02874, allocations: 1.99 MB / 0.4991 GB, free: 6.148 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009298/0.02967, allocations: 0.9437 MB / 0.5 GB, free: 5.262 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000308/0.02998, allocations: 132 kB / 0.5001 GB, free: 5.133 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006884/0.03066, allocations: 323.7 kB / 0.5004 GB, free: 4.816 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.03093, allocations: 454 kB / 0.5008 GB, free: 4.371 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.03145, allocations: 0.674 MB / 0.5015 GB, free: 3.695 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.03339, allocations: 1.809 MB / 0.5033 GB, free: 1.879 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.0334, allocations: 0 / 0.5033 GB, free: 1.879 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.0334, allocations: 0 / 0.5033 GB, free: 1.879 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.464e-05/0.03343, allocations: 4 kB / 0.5033 GB, free: 1.875 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.002655/0.03609, allocations: 2.57 MB / 0.5058 GB, free: 15.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.03613, allocations: 12.03 kB / 0.5058 GB, free: 15.24 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005478/0.03667, allocations: 423 kB / 0.5062 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.03798, allocations: 1.292 MB / 0.5075 GB, free: 13.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/0.03803, allocations: 103 kB / 0.5076 GB, free: 13.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.03816, allocations: 136.4 kB / 0.5077 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/0.0392, allocations: 1.012 MB / 0.5087 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.03922, allocations: 0 / 0.5087 GB, free: 12.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.03928, allocations: 52 kB / 0.5087 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.0393, allocations: 28 kB / 0.5088 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006548/0.03996, allocations: 0.5637 MB / 0.5093 GB, free: 11.52 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003482/0.04344, allocations: 3.477 MB / 0.5127 GB, free: 7.984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008832/0.04432, allocations: 0.8442 MB / 0.5135 GB, free: 7.133 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.04477, allocations: 334.4 kB / 0.5138 GB, free: 6.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002078/0.04685, allocations: 1.799 MB / 0.5156 GB, free: 4.977 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005327/0.04739, allocations: 0.5506 MB / 0.5161 GB, free: 4.387 MB / 442.7 MB Notification: Performance of pre-optimization done (n=139): time 3.356e-06/0.04739, allocations: 0 / 0.5161 GB, free: 4.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=139): time 0.001616/0.04901, allocations: 1.258 MB / 0.5174 GB, free: 3.117 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.04906, allocations: 116.1 kB / 0.5175 GB, free: 2.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008129/0.04987, allocations: 1.223 MB / 0.5187 GB, free: 1.734 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.04993, allocations: 49.7 kB / 0.5187 GB, free: 1.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.05037, allocations: 0.8084 MB / 0.5195 GB, free: 0.8555 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/0.05063, allocations: 499.6 kB / 0.52 GB, free: 372 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.05087, allocations: 268.3 kB / 0.5202 GB, free: 92 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.05102, allocations: 0.5276 MB / 0.5208 GB, free: 15.55 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003759/0.05139, allocations: 208.2 kB / 0.521 GB, free: 15.35 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/0.05181, allocations: 0.6244 MB / 0.5216 GB, free: 14.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.05247, allocations: 0.6981 MB / 0.5222 GB, free: 13.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.05247, allocations: 0 / 0.5222 GB, free: 13.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001143/0.05362, allocations: 1.08 MB / 0.5233 GB, free: 12.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.05365, allocations: 41.69 kB / 0.5233 GB, free: 12.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.05366, allocations: 4 kB / 0.5233 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.05392, allocations: 103.3 kB / 0.5234 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.05445, allocations: 271.6 kB / 0.5237 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.05612, allocations: 3.681 MB / 0.5273 GB, free: 8.375 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.05656, allocations: 125.8 kB / 0.5274 GB, free: 8.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-05/0.05663, allocations: 47.98 kB / 0.5275 GB, free: 8.207 MB / 458.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.0004535/0.05708, allocations: 232.2 kB / 0.5277 GB, free: 7.969 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.05729, allocations: 222.8 kB / 0.5279 GB, free: 7.75 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001704/0.05899, allocations: 1.569 MB / 0.5294 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.059, allocations: 12 kB / 0.5294 GB, free: 6.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.05901, allocations: 4 kB / 0.5294 GB, free: 6.156 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.05902, allocations: 7.969 kB / 0.5295 GB, free: 6.148 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.06134, allocations: 2.126 MB / 0.5315 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.06135, allocations: 0 / 0.5315 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004556/0.0618, allocations: 247.6 kB / 0.5318 GB, free: 3.715 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.06203, allocations: 115.4 kB / 0.5319 GB, free: 3.594 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.06208, allocations: 43.97 kB / 0.5319 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.06379, allocations: 3.673 MB / 0.5355 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/0.06379, allocations: 4 kB / 0.5355 GB, free: 15.65 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.0652, allocations: 1.423 MB / 0.5369 GB, free: 14.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.06558, allocations: 352.2 kB / 0.5372 GB, free: 13.83 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.06569, allocations: 31.98 kB / 0.5373 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000307/0.066, allocations: 39.98 kB / 0.5373 GB, free: 13.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/0.06613, allocations: 113 kB / 0.5374 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.06618, allocations: 43.97 kB / 0.5374 GB, free: 13.61 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004711/0.06665, allocations: 0.6962 MB / 0.5381 GB, free: 12.92 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.06665, allocations: 0 / 0.5381 GB, free: 12.92 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008296/0.06748, allocations: 0.4913 MB / 0.5386 GB, free: 12.43 MB / 474.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.0009432/0.06843, allocations: 420.5 kB / 0.539 GB, free: 12.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.06946, allocations: 1.135 MB / 0.5401 GB, free: 10.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.06946, allocations: 0.875 kB / 0.5401 GB, free: 10.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.07004, allocations: 0.7706 MB / 0.5409 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.07151, allocations: 0.6427 MB / 0.5415 GB, free: 9.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.0754, allocations: 3.038 MB / 0.5445 GB, free: 6.398 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.07563, allocations: 320 kB / 0.5448 GB, free: 6.059 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007305/0.07636, allocations: 334.2 kB / 0.5451 GB, free: 5.742 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008765/0.07724, allocations: 0.5799 MB / 0.5457 GB, free: 5.16 MB / 474.7 MB Notification: Performance of SimCode: time 8.42e-07/0.07724, allocations: 0 / 0.5457 GB, free: 5.16 MB / 474.7 MB Notification: Performance of Templates: time 0.03569/0.1129, allocations: 28.89 MB / 0.5739 GB, free: 8.809 MB / 0.4948 GB " [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 -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.35657743178308]