Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_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.00128/0.00128, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00147/0.00147, allocations: 181 kB / 23.35 MB, free: 1.137 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.123/1.123, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.818/0.818, allocations: 118.7 MB / 378.9 MB, free: 1.324 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.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_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_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 430.8 MB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.701e-05, allocations: 6.25 kB / 430.9 MB, free: 13.3 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.3478/0.3479, allocations: 132.5 MB / 0.5502 GB, free: 6.594 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003311/0.3512, allocations: 2.908 MB / 0.553 GB, free: 3.688 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003169/0.3515, allocations: 71.38 kB / 0.5531 GB, free: 3.617 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004853/0.352, allocations: 229.8 kB / 0.5533 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008845/0.3529, allocations: 0.7019 MB / 0.554 GB, free: 2.684 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008034/0.3537, allocations: 0.514 MB / 0.5545 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001064/0.3547, allocations: 1.573 MB / 0.556 GB, free: 0.5898 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.355, allocations: 215 kB / 0.5562 GB, free: 376 kB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008496/0.3559, allocations: 0.8531 MB / 0.5571 GB, free: 15.51 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009714/0.3568, allocations: 0.5765 MB / 0.5576 GB, free: 14.93 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.051e-05/0.3569, allocations: 76 kB / 0.5577 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005363/0.3575, allocations: 463.4 kB / 0.5581 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3576, allocations: 207 kB / 0.5583 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.3578, allocations: 367 kB / 0.5587 GB, free: 13.84 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001017/0.3588, allocations: 1.14 MB / 0.5598 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3589, allocations: 0 / 0.5598 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3589, allocations: 0 / 0.5598 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3589, allocations: 0 / 0.5598 GB, free: 12.7 MB / 0.5105 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.001507/0.3604, allocations: 1.404 MB / 0.5612 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3604, allocations: 12.03 kB / 0.5612 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.3606, allocations: 164.6 kB / 0.5613 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008707/0.3615, allocations: 0.7587 MB / 0.5621 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/0.3615, allocations: 54.38 kB / 0.5621 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.638e-05/0.3616, allocations: 76.36 kB / 0.5622 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.3621, allocations: 0.5144 MB / 0.5627 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3622, allocations: 4.312 kB / 0.5627 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.3622, allocations: 31.94 kB / 0.5627 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.3622, allocations: 16 kB / 0.5628 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002861/0.3625, allocations: 236.6 kB / 0.563 GB, free: 9.352 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.3646, allocations: 1.518 MB / 0.5645 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005735/0.3652, allocations: 422.6 kB / 0.5649 GB, free: 7.379 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.3653, allocations: 124.6 kB / 0.565 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008198/0.3661, allocations: 0.6085 MB / 0.5656 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.3662, allocations: 39.06 kB / 0.5656 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 1.423e-06/0.3662, allocations: 0 / 0.5656 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.001328/0.3675, allocations: 0.8453 MB / 0.5664 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3676, allocations: 55.91 kB / 0.5665 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.368, allocations: 0.6684 MB / 0.5672 GB, free: 4.953 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.368, allocations: 29.7 kB / 0.5672 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.3682, allocations: 374.3 kB / 0.5675 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.776e-05/0.3683, allocations: 178.4 kB / 0.5677 GB, free: 4.375 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.914e-05/0.3684, allocations: 90.09 kB / 0.5678 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/0.3685, allocations: 329.9 kB / 0.5681 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.3685, allocations: 48.97 kB / 0.5682 GB, free: 3.906 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.3686, allocations: 129.2 kB / 0.5683 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.3688, allocations: 237.4 kB / 0.5685 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3688, allocations: 0 / 0.5685 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004173/0.3693, allocations: 358.8 kB / 0.5688 GB, free: 3.133 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3693, allocations: 8 kB / 0.5689 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3693, allocations: 256 / 0.5689 GB, free: 3.125 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003112/0.3696, allocations: 116.7 kB / 0.569 GB, free: 3.008 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001935/0.3698, allocations: 92.45 kB / 0.5691 GB, free: 2.918 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.3709, allocations: 1.501 MB / 0.5705 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.3711, allocations: 19.98 kB / 0.5705 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.3711, allocations: 15.94 kB / 0.5706 GB, free: 1.301 MB / 0.5105 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 (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 prepare postOptimizeDAE: time 0.0001433/0.3712, allocations: 140.6 kB / 0.5707 GB, free: 1.152 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3713, allocations: 83.86 kB / 0.5708 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.3719, allocations: 0.5335 MB / 0.5713 GB, free: 0.5156 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.372, allocations: 8 kB / 0.5713 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.372, allocations: 0 / 0.5713 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.372, allocations: 3.984 kB / 0.5713 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.3732, allocations: 0.8133 MB / 0.5721 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.3732, allocations: 5.5 kB / 0.5721 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001558/0.3734, allocations: 80 kB / 0.5722 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002763/0.3737, allocations: 130.6 kB / 0.5723 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.3737, allocations: 15.98 kB / 0.5723 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009563/0.3746, allocations: 1.499 MB / 0.5738 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3746, allocations: 11.97 kB / 0.5738 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.3752, allocations: 0.5476 MB / 0.5743 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.3753, allocations: 99.3 kB / 0.5744 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.3753, allocations: 12 kB / 0.5744 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.3754, allocations: 12 kB / 0.5744 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.425e-05/0.3755, allocations: 52.38 kB / 0.5745 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.3755, allocations: 12 kB / 0.5745 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00026/0.3758, allocations: 345.7 kB / 0.5748 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.3758, allocations: 0 / 0.5748 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004373/0.3762, allocations: 275.6 kB / 0.5751 GB, free: 12.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (43): * Single equations (assignments): 42 * 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.0003338/0.3766, allocations: 219.8 kB / 0.5753 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.377, allocations: 398.2 kB / 0.5757 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/0.377, allocations: 12.5 kB / 0.5757 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.3773, allocations: 322.9 kB / 0.576 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007573/0.3781, allocations: 345.5 kB / 0.5763 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/0.3802, allocations: 1.618 MB / 0.5779 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.3803, allocations: 187.4 kB / 0.5781 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002525/0.3806, allocations: 138.3 kB / 0.5782 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007791/0.3814, allocations: 269.1 kB / 0.5785 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of SimCode: time 1.532e-06/0.3814, allocations: 3.938 kB / 0.5785 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of Templates: time 0.01921/0.4006, allocations: 15.72 MB / 0.5938 GB, free: 9.559 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.sim & ./ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ThermofluidStream_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] diffSimulationResults("ThermofluidStream_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.25465833209455]