Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.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.001061/0.001061, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001149/0.001149, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.7611/0.7611, allocations: 118.6 MB / 378.9 MB, free: 1.449 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.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 483.6 MB, free: 8.254 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.187e-05/3.418e-05, allocations: 2.312 kB / 483.6 MB, free: 8.25 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.1631/0.1631, allocations: 160.8 MB / 0.6293 GB, free: 15.69 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.1738, allocations: 11.64 MB / 0.6407 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001333/0.1752, allocations: 67.38 kB / 0.6408 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.1766, allocations: 0.5352 MB / 0.6413 GB, free: 3.406 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002313/0.1789, allocations: 0.9854 MB / 0.6422 GB, free: 2.414 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.1809, allocations: 0.8521 MB / 0.6431 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.3415/0.5224, allocations: 1.564 MB / 0.6446 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007453/0.5231, allocations: 199 kB / 0.6448 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001966/0.5251, allocations: 0.8608 MB / 0.6456 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.5263, allocations: 0.5748 MB / 0.6462 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.5265, allocations: 76.62 kB / 0.6463 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.5292, allocations: 1.236 MB / 0.6475 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002338/0.5295, allocations: 207.9 kB / 0.6477 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006647/0.5301, allocations: 372 kB / 0.648 GB, free: 14.51 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.5332, allocations: 1.41 MB / 0.6494 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.5332, allocations: 0 / 0.6494 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5333, allocations: 0 / 0.6494 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.56e-05/0.5333, allocations: 0.5 kB / 0.6494 GB, free: 14.43 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002947/0.5362, allocations: 1.589 MB / 0.6509 GB, free: 29.55 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5363, allocations: 9.406 kB / 0.651 GB, free: 29.55 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.5367, allocations: 216.7 kB / 0.6512 GB, free: 29.47 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001127/0.5378, allocations: 0.8361 MB / 0.652 GB, free: 29.15 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.5378, allocations: 50.91 kB / 0.652 GB, free: 29.15 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.277e-05/0.5379, allocations: 79.7 kB / 0.6521 GB, free: 29.15 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007328/0.5386, allocations: 0.5591 MB / 0.6527 GB, free: 29.03 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5386, allocations: 4.656 kB / 0.6527 GB, free: 29.03 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.5387, allocations: 36.25 kB / 0.6527 GB, free: 29.02 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.5387, allocations: 16.72 kB / 0.6527 GB, free: 29.02 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.5392, allocations: 315.8 kB / 0.653 GB, free: 29.02 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/0.5415, allocations: 2.202 MB / 0.6552 GB, free: 28.1 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.5423, allocations: 481.2 kB / 0.6556 GB, free: 28.06 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.5425, allocations: 153.4 kB / 0.6558 GB, free: 28.05 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/0.544, allocations: 0.9085 MB / 0.6567 GB, free: 27.69 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.544, allocations: 40.14 kB / 0.6567 GB, free: 27.65 MB / 0.573 GB Notification: Performance of pre-optimization done (n=55): time 2.826e-06/0.544, allocations: 1.062 kB / 0.6567 GB, free: 27.65 MB / 0.573 GB Notification: Performance of matching and sorting (n=56): time 0.002234/0.5463, allocations: 1.272 MB / 0.6579 GB, free: 27.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.5463, allocations: 57.31 kB / 0.658 GB, free: 27.14 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006493/0.547, allocations: 0.7369 MB / 0.6587 GB, free: 26.94 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.547, allocations: 35.02 kB / 0.6587 GB, free: 26.91 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002903/0.5473, allocations: 0.5412 MB / 0.6593 GB, free: 26.67 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.5474, allocations: 205.2 kB / 0.6595 GB, free: 26.54 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.5475, allocations: 104.1 kB / 0.6596 GB, free: 26.51 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5476, allocations: 0.4954 MB / 0.66 GB, free: 26.03 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.5478, allocations: 85.23 kB / 0.6601 GB, free: 26.03 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/0.548, allocations: 196.2 kB / 0.6603 GB, free: 25.92 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.5484, allocations: 330.8 kB / 0.6606 GB, free: 25.81 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.5484, allocations: 3.75 kB / 0.6606 GB, free: 25.81 MB / 0.573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008294/0.5492, allocations: 0.5433 MB / 0.6612 GB, free: 25.69 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5492, allocations: 5.219 kB / 0.6612 GB, free: 25.69 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.5492, allocations: 3.281 kB / 0.6612 GB, free: 25.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000414/0.5496, allocations: 127.2 kB / 0.6613 GB, free: 25.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.5499, allocations: 102.4 kB / 0.6614 GB, free: 25.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.5515, allocations: 2.141 MB / 0.6635 GB, free: 23.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002619/0.5517, allocations: 17.17 kB / 0.6635 GB, free: 23.95 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.5518, allocations: 24.06 kB / 0.6635 GB, free: 23.94 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.552, allocations: 190.3 kB / 0.6637 GB, free: 23.78 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.5522, allocations: 134.7 kB / 0.6638 GB, free: 23.71 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.5532, allocations: 0.7454 MB / 0.6646 GB, free: 23.56 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5532, allocations: 5.656 kB / 0.6646 GB, free: 23.56 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5532, allocations: 3.125 kB / 0.6646 GB, free: 23.56 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.5532, allocations: 2.109 kB / 0.6646 GB, free: 23.56 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.555, allocations: 1.241 MB / 0.6658 GB, free: 23.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.555, allocations: 1.969 kB / 0.6658 GB, free: 23.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.5552, allocations: 91.69 kB / 0.6659 GB, free: 23.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000405/0.5556, allocations: 123.9 kB / 0.666 GB, free: 23.19 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.136e-05/0.5557, allocations: 20.14 kB / 0.666 GB, free: 23.19 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.5573, allocations: 2.153 MB / 0.6681 GB, free: 21.45 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.5573, allocations: 2.734 kB / 0.6681 GB, free: 21.45 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.5586, allocations: 0.8132 MB / 0.6689 GB, free: 21.12 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.5589, allocations: 140.2 kB / 0.669 GB, free: 21.07 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.559, allocations: 11.98 kB / 0.6691 GB, free: 21.07 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.5592, allocations: 14.16 kB / 0.6691 GB, free: 21.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5593, allocations: 51.52 kB / 0.6691 GB, free: 21.06 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.5594, allocations: 23.83 kB / 0.6691 GB, free: 21.06 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007/0.5601, allocations: 0.4931 MB / 0.6696 GB, free: 20.91 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.5601, allocations: 0.8438 kB / 0.6696 GB, free: 20.91 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001132/0.5612, allocations: 344.9 kB / 0.67 GB, free: 20.88 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (flowResistance1.inlet.m_flow,flowResistance2.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 (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008095/0.562, allocations: 497.6 kB / 0.6704 GB, free: 20.74 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0009989/0.563, allocations: 0.5342 MB / 0.6709 GB, free: 20.54 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.563, allocations: 1.844 kB / 0.6709 GB, free: 20.54 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005623/0.5636, allocations: 434.5 kB / 0.6714 GB, free: 20.33 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.5647, allocations: 358.6 kB / 0.6717 GB, free: 20.29 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.5679, allocations: 1.642 MB / 0.6733 GB, free: 19.47 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.5681, allocations: 188.2 kB / 0.6735 GB, free: 19.4 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005648/0.5687, allocations: 155.3 kB / 0.6736 GB, free: 19.34 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.5689, allocations: 86.75 kB / 0.6737 GB, free: 19.34 MB / 0.573 GB Notification: Performance of SimCode: time 2.245e-06/0.5689, allocations: 0 / 0.6737 GB, free: 19.34 MB / 0.573 GB Notification: Performance of Templates: time 0.025/0.5939, allocations: 18.61 MB / 0.6919 GB, free: 17.09 MB / 0.573 GB " [Timeout remaining time 659] make -j1 -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_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.690232865978032]