Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.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.00114/0.00114, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001628/0.002768, 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.001088/0.001088, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002425, 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.9011/0.9011, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08725/0.9883, allocations: 53.65 MB / 243.2 MB, free: 15.61 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.6885/0.6885, allocations: 118.7 MB / 362.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06154/0.75, allocations: 35.83 MB / 398.4 MB, free: 13.27 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.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="boundary_rear.fore.m_flow|boundary_rear1.fore.m_flow|boundary_rear2.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.683e-05, allocations: 2.312 kB / 399.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve): time 0.01175/0.01177, allocations: 17.26 MB / 417 MB, free: 10.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007813/0.01958, allocations: 5.102 MB / 422.1 MB, free: 5.531 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.02105, allocations: 115 kB / 422.2 MB, free: 5.418 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008653/0.02192, allocations: 0.5539 MB / 422.8 MB, free: 4.859 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002975/0.02489, allocations: 1.928 MB / 424.7 MB, free: 2.918 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.0268, allocations: 0.9507 MB / 425.6 MB, free: 1.965 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1866/0.2134, allocations: 4.38 MB / 430 MB, free: 4.832 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008932/0.2143, allocations: 404 kB / 430.4 MB, free: 4.707 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0034/0.2177, allocations: 2.375 MB / 432.8 MB, free: 4.422 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.2195, allocations: 1.25 MB / 434 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004677/0.22, allocations: 195.8 kB / 434.2 MB, free: 4.266 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.221, allocations: 397.8 kB / 434.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.2213, allocations: 375.3 kB / 435 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009457/0.2222, allocations: 0.7851 MB / 435.8 MB, free: 4.055 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001934/0.2241, allocations: 2.136 MB / 437.9 MB, free: 3.695 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.599e-05/0.2241, allocations: 0 / 437.9 MB, free: 3.695 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2241, allocations: 0 / 437.9 MB, free: 3.695 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.158e-05/0.2242, allocations: 2.812 kB / 437.9 MB, free: 3.695 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: 479 * Number of variables: 479 Notification: Performance of Generate backend data structure: time 0.003748/0.228, allocations: 3.546 MB / 441.5 MB, free: 18.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.228, allocations: 10.69 kB / 441.5 MB, free: 18.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006854/0.2287, allocations: 472.7 kB / 441.9 MB, free: 18.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.2303, allocations: 1.299 MB / 443.2 MB, free: 17.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.2303, allocations: 141.6 kB / 443.4 MB, free: 17.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.2305, allocations: 193.8 kB / 443.6 MB, free: 17.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.2317, allocations: 1.454 MB / 445 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.2317, allocations: 1.266 kB / 445 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.447e-05/0.2318, allocations: 83.31 kB / 445.1 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.2318, allocations: 48.12 kB / 445.1 MB, free: 17.56 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.2326, allocations: 0.7541 MB / 445.9 MB, free: 17.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.2366, allocations: 3.784 MB / 449.7 MB, free: 15.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000996/0.2376, allocations: 1.213 MB / 450.9 MB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/0.238, allocations: 414.4 kB / 451.3 MB, free: 14.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002519/0.2405, allocations: 2.002 MB / 453.3 MB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00065/0.2411, allocations: 0.7622 MB / 454.1 MB, free: 12.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=200): time 3.888e-06/0.2411, allocations: 1.25 kB / 454.1 MB, free: 12.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=200): time 0.001623/0.2428, allocations: 1.354 MB / 455.4 MB, free: 10.81 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.2428, allocations: 154.5 kB / 455.6 MB, free: 10.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006155/0.2434, allocations: 1.09 MB / 456.7 MB, free: 9.781 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.2435, allocations: 64.39 kB / 456.7 MB, free: 9.738 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.2438, allocations: 0.6622 MB / 457.4 MB, free: 9.172 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003143/0.2441, allocations: 0.7057 MB / 458.1 MB, free: 8.574 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.2444, allocations: 310.6 kB / 458.4 MB, free: 8.297 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.851e-05/0.2444, allocations: 305.8 kB / 458.7 MB, free: 7.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.2447, allocations: 260.4 kB / 458.9 MB, free: 7.734 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/0.2452, allocations: 0.7761 MB / 459.7 MB, free: 6.852 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.246, allocations: 0.902 MB / 460.6 MB, free: 5.941 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.974e-06/0.246, allocations: 4 kB / 460.6 MB, free: 5.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.001099/0.2471, allocations: 1.102 MB / 461.7 MB, free: 4.852 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.2471, allocations: 39.7 kB / 461.8 MB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2471, allocations: 4 kB / 461.8 MB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003197/0.2475, allocations: 145.9 kB / 461.9 MB, free: 4.664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007715/0.2482, allocations: 463.5 kB / 462.4 MB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.2502, allocations: 3.832 MB / 466.2 MB, free: 216 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006338/0.2508, allocations: 151.2 kB / 466.3 MB, free: 64 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.2509, allocations: 63.97 kB / 466.4 MB, free: 0 / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (214): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 1 * 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.0003528/0.2513, allocations: 216 kB / 466.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.2515, allocations: 187.8 kB / 466.8 MB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.2535, allocations: 1.998 MB / 468.8 MB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.2535, allocations: 20 kB / 468.8 MB, free: 13.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.2535, allocations: 4 kB / 468.8 MB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/0.2535, allocations: 7.969 kB / 468.8 MB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002642/0.2562, allocations: 2.277 MB / 471.1 MB, free: 11.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2562, allocations: 4.172 kB / 471.1 MB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.2568, allocations: 396.1 kB / 471.5 MB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003672/0.2572, allocations: 300.5 kB / 471.8 MB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00029/0.2575, allocations: 161.6 kB / 471.9 MB, free: 10.9 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.355e-05/0.2576, allocations: 48.66 kB / 472 MB, free: 10.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.2593, allocations: 3.82 MB / 475.8 MB, free: 6.824 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2593, allocations: 0 / 475.8 MB, free: 6.824 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.2607, allocations: 1.525 MB / 477.3 MB, free: 5.309 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.2609, allocations: 51.92 kB / 477.4 MB, free: 5.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003452/0.2612, allocations: 57.42 kB / 477.4 MB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00017/0.2614, allocations: 141.7 kB / 477.6 MB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.118e-05/0.2615, allocations: 47.97 kB / 477.6 MB, free: 5.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003778/0.2618, allocations: 0.5775 MB / 478.2 MB, free: 4.516 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2618, allocations: 0 / 478.2 MB, free: 4.516 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001045/0.2629, allocations: 0.6863 MB / 478.9 MB, free: 3.828 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (flowResistance6.rear.m_flow,flowResistance2.rear.m_flow,flowResistance4.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 (195): * Single equations (assignments): 190 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000272/0.2632, allocations: 185.2 kB / 479.1 MB, free: 3.664 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.2644, allocations: 1.364 MB / 480.4 MB, free: 2.297 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.452e-05/0.2644, allocations: 28.69 kB / 480.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009392/0.2654, allocations: 0.9161 MB / 481.4 MB, free: 1.379 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.2672, allocations: 1.067 MB / 482.5 MB, free: 364 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/0.2939, allocations: 3.901 MB / 486.4 MB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.2942, allocations: 369.6 kB / 486.7 MB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001291/0.2955, allocations: 453.6 kB / 487.2 MB, free: 11.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.2966, allocations: 0.6435 MB / 487.8 MB, free: 10.96 MB / 458.7 MB Notification: Performance of SimCode: time 1.634e-06/0.2966, allocations: 4 kB / 487.8 MB, free: 10.96 MB / 458.7 MB Notification: Performance of Templates: time 0.04608/0.3427, allocations: 40.23 MB / 0.5157 GB, free: 3.688 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.sim & ./ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_ThermofluidStream.Undirected.FlowControl.Tests.BasicControlValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.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.4393590819090605]