Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.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.0008611/0.0008611, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0008939/0.0008939, allocations: 177 kB / 23.36 MB, free: 1.129 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.8586/0.8586, allocations: 177.1 MB / 203.8 MB, free: 5.445 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.6152/0.6152, allocations: 118.6 MB / 378.9 MB, free: 1.305 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.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_rear.fore.m_flow|pulse.T_start|pulse.count",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 430.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.181e-05, allocations: 6.25 kB / 430.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.CheckValve): time 0.2307/0.2308, allocations: 130.2 MB / 0.5478 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2324, allocations: 1.8 MB / 0.5496 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001729/0.2326, allocations: 27.75 kB / 0.5496 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.2329, allocations: 127 kB / 0.5497 GB, free: 7.191 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.000526/0.2334, allocations: 429 kB / 0.5501 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.2338, allocations: 279 kB / 0.5504 GB, free: 6.496 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000514/0.2343, allocations: 0.8071 MB / 0.5512 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.2345, allocations: 86.58 kB / 0.5513 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.2349, allocations: 470.6 kB / 0.5517 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002952/0.2352, allocations: 327.1 kB / 0.552 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.891e-05/0.2353, allocations: 32 kB / 0.5521 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002843/0.2355, allocations: 251.5 kB / 0.5523 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.2356, allocations: 99.53 kB / 0.5524 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.2357, allocations: 167.5 kB / 0.5526 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007102/0.2364, allocations: 0.545 MB / 0.5531 GB, free: 3.734 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.2364, allocations: 3.938 kB / 0.5531 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2364, allocations: 0 / 0.5531 GB, free: 3.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2364, allocations: 0 / 0.5531 GB, free: 3.73 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.000794/0.2372, allocations: 0.7505 MB / 0.5538 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.634e-05/0.2373, allocations: 8.031 kB / 0.5538 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.2374, allocations: 80.75 kB / 0.5539 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.2377, allocations: 347.8 kB / 0.5542 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.2378, allocations: 29.38 kB / 0.5543 GB, free: 2.473 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.2378, allocations: 44.31 kB / 0.5543 GB, free: 2.43 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.2381, allocations: 308 kB / 0.5546 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2381, allocations: 4.125 kB / 0.5546 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2381, allocations: 20.36 kB / 0.5546 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.2381, allocations: 11.94 kB / 0.5546 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.2383, allocations: 127.3 kB / 0.5548 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009259/0.2392, allocations: 0.9788 MB / 0.5557 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002725/0.2395, allocations: 199.2 kB / 0.5559 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.786e-05/0.2396, allocations: 72.81 kB / 0.556 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006909/0.2402, allocations: 0.5303 MB / 0.5565 GB, free: 112 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.2404, allocations: 139.3 kB / 0.5566 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=37): time 1.363e-06/0.2404, allocations: 0 / 0.5566 GB, free: 15.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37): time 0.0004514/0.2409, allocations: 290.7 kB / 0.5569 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.2409, allocations: 55.41 kB / 0.557 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2411, allocations: 327.2 kB / 0.5573 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.2411, allocations: 29.7 kB / 0.5573 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/0.2412, allocations: 189.5 kB / 0.5575 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.209e-05/0.2412, allocations: 134.8 kB / 0.5576 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.2413, allocations: 77.98 kB / 0.5577 GB, free: 14.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.2414, allocations: 350.7 kB / 0.558 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.528e-05/0.2414, allocations: 66.42 kB / 0.5581 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.2415, allocations: 129.1 kB / 0.5582 GB, free: 14.26 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.2417, allocations: 199.5 kB / 0.5584 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2417, allocations: 0 / 0.5584 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002816/0.242, allocations: 306.2 kB / 0.5587 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.242, allocations: 33.7 kB / 0.5587 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.242, allocations: 4 kB / 0.5587 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.2421, allocations: 42.11 kB / 0.5588 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2423, allocations: 75.89 kB / 0.5588 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008064/0.2431, allocations: 1.239 MB / 0.56 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.2432, allocations: 35.77 kB / 0.5601 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2432, allocations: 12.53 kB / 0.5601 GB, free: 12.19 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.195e-05/0.2433, allocations: 132.6 kB / 0.5602 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.103e-05/0.2434, allocations: 43.91 kB / 0.5603 GB, free: 12.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.2437, allocations: 350.4 kB / 0.5606 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2437, allocations: 4 kB / 0.5606 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-06/0.2438, allocations: 0 / 0.5606 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.2438, allocations: 0 / 0.5606 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.2443, allocations: 0.5425 MB / 0.5611 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2443, allocations: 4.75 kB / 0.5611 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.2444, allocations: 59.97 kB / 0.5612 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.015e-05/0.2445, allocations: 44.78 kB / 0.5612 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.2445, allocations: 11.98 kB / 0.5612 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005256/0.2451, allocations: 1.235 MB / 0.5624 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2451, allocations: 0 / 0.5624 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003498/0.2454, allocations: 379.7 kB / 0.5628 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.2455, allocations: 63.61 kB / 0.5629 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.2455, allocations: 15.98 kB / 0.5629 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2456, allocations: 9.312 kB / 0.5629 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.255e-05/0.2457, allocations: 39.81 kB / 0.5629 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.2457, allocations: 11.98 kB / 0.5629 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.739e-05/0.2458, allocations: 136.7 kB / 0.5631 GB, free: 8.969 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3e-08/0.2458, allocations: 4.062 kB / 0.5631 GB, free: 8.965 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002754/0.246, allocations: 171.6 kB / 0.5632 GB, free: 8.797 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (flowResistance.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001765/0.2462, allocations: 141.5 kB / 0.5634 GB, free: 8.652 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000333/0.2466, allocations: 387.2 kB / 0.5637 GB, free: 8.242 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.2466, allocations: 7.938 kB / 0.5638 GB, free: 8.234 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.2467, allocations: 235 kB / 0.564 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.2472, allocations: 173.1 kB / 0.5641 GB, free: 7.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2483, allocations: 0.8198 MB / 0.5649 GB, free: 6.984 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.045e-05/0.2484, allocations: 109.8 kB / 0.565 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.2486, allocations: 83.89 kB / 0.5651 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.2488, allocations: 173.2 kB / 0.5653 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/0.2488, allocations: 0 / 0.5653 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of Templates: time 0.01043/0.2592, allocations: 9.028 MB / 0.5741 GB, free: 13.84 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.sim & ./ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.Undirected.FlowControl.Tests.CheckValve_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: 3.2776466864161193]