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.001143/0.001143, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001978/0.003121, 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.00121/0.00121, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001548/0.002758, 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 1.019/1.019, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09985/1.119, allocations: 53.65 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.4.1-main/package.mo): time 0.7494/0.7494, allocations: 118.7 MB / 362.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06711/0.8165, allocations: 35.84 MB / 398.5 MB, free: 13.35 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-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="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="source.outlet.m_flow|tanValve.inlet.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 399.8 MB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.051e-05, allocations: 2.312 kB / 399.8 MB, free: 12.07 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.3607/0.3607, allocations: 132.9 MB / 0.5202 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.004472/0.3652, allocations: 2.931 MB / 0.5231 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000671/0.3659, allocations: 63.38 kB / 0.5231 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.3664, allocations: 231.3 kB / 0.5234 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.3676, allocations: 0.6942 MB / 0.524 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3688, allocations: 0.5178 MB / 0.5245 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.3702, allocations: 1.573 MB / 0.5261 GB, free: 9.34 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.3705, allocations: 210.6 kB / 0.5263 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.3715, allocations: 0.9787 MB / 0.5272 GB, free: 8.141 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005663/0.3721, allocations: 0.5649 MB / 0.5278 GB, free: 7.574 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.3722, allocations: 76 kB / 0.5279 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3732, allocations: 455.3 kB / 0.5283 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.3733, allocations: 159.2 kB / 0.5284 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.3736, allocations: 319.2 kB / 0.5287 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.3746, allocations: 1.059 MB / 0.5298 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.755e-05/0.3746, allocations: 0 / 0.5298 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3746, allocations: 0 / 0.5298 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.161e-05/0.3747, allocations: 3.984 kB / 0.5298 GB, free: 5.52 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001575/0.3762, allocations: 1.744 MB / 0.5315 GB, free: 3.727 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3763, allocations: 8.031 kB / 0.5315 GB, free: 3.719 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.3765, allocations: 160.6 kB / 0.5316 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008568/0.3773, allocations: 0.7479 MB / 0.5324 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.3774, allocations: 54.38 kB / 0.5324 GB, free: 2.719 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.556e-05/0.3774, allocations: 68.38 kB / 0.5325 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005244/0.378, allocations: 0.5222 MB / 0.533 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.378, allocations: 384 / 0.533 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.378, allocations: 35.94 kB / 0.533 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.378, allocations: 16 kB / 0.5331 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002585/0.3783, allocations: 237.8 kB / 0.5333 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.3799, allocations: 1.53 MB / 0.5348 GB, free: 268 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.3806, allocations: 421.1 kB / 0.5352 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.3807, allocations: 122.3 kB / 0.5353 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007859/0.3815, allocations: 0.6163 MB / 0.5359 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.3815, allocations: 43.05 kB / 0.5359 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=49): time 1.983e-06/0.3815, allocations: 0 / 0.5359 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.00121/0.3827, allocations: 0.8292 MB / 0.5367 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.3827, allocations: 59.91 kB / 0.5368 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.3831, allocations: 0.6574 MB / 0.5374 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3832, allocations: 37.7 kB / 0.5375 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.3833, allocations: 366.3 kB / 0.5378 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.768e-05/0.3834, allocations: 178.4 kB / 0.538 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.524e-05/0.3835, allocations: 94.09 kB / 0.5381 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.3836, allocations: 325.9 kB / 0.5384 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.802e-05/0.3836, allocations: 48.97 kB / 0.5384 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.619e-05/0.3837, allocations: 135.9 kB / 0.5386 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3839, allocations: 237.5 kB / 0.5388 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.3839, allocations: 0 / 0.5388 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004003/0.3843, allocations: 366.8 kB / 0.5392 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.3843, allocations: 8 kB / 0.5392 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3844, allocations: 0 / 0.5392 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002996/0.3847, allocations: 132.5 kB / 0.5393 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3849, allocations: 107.9 kB / 0.5394 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009983/0.3858, allocations: 1.491 MB / 0.5408 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.386, allocations: 12 kB / 0.5409 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.386, allocations: 23.92 kB / 0.5409 GB, free: 9.738 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.0001355/0.3861, allocations: 140.6 kB / 0.541 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3862, allocations: 95.69 kB / 0.5411 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00056/0.3868, allocations: 0.5281 MB / 0.5416 GB, free: 8.945 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3868, allocations: 8 kB / 0.5416 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3868, allocations: 0 / 0.5416 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3868, allocations: 7.984 kB / 0.5416 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.3879, allocations: 0.8056 MB / 0.5424 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3879, allocations: 0.9375 kB / 0.5424 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.3881, allocations: 92.02 kB / 0.5425 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3882, allocations: 99.31 kB / 0.5426 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002665/0.3884, allocations: 123.3 kB / 0.5427 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3885, allocations: 19.92 kB / 0.5427 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009972/0.3895, allocations: 1.503 MB / 0.5442 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3895, allocations: 0 / 0.5442 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005459/0.39, allocations: 0.5592 MB / 0.5448 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.374e-05/0.3901, allocations: 12.56 kB / 0.5448 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.3902, allocations: 12 kB / 0.5448 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.3903, allocations: 48.34 kB / 0.5448 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.3903, allocations: 8 kB / 0.5448 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002497/0.3905, allocations: 350.5 kB / 0.5452 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3905, allocations: 0 / 0.5452 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005191/0.3911, allocations: 275.6 kB / 0.5454 GB, free: 4.875 MB / 0.5105 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.0003096/0.3914, allocations: 219.8 kB / 0.5456 GB, free: 4.648 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004528/0.3918, allocations: 406.2 kB / 0.546 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.63e-05/0.3918, allocations: 12 kB / 0.546 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.3921, allocations: 327.5 kB / 0.5464 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000786/0.3929, allocations: 401.1 kB / 0.5467 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.4043, allocations: 1.689 MB / 0.5484 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001496/0.4045, allocations: 187.5 kB / 0.5486 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004767/0.405, allocations: 134.4 kB / 0.5487 GB, free: 1.441 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004095/0.4054, allocations: 265.1 kB / 0.5489 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of SimCode: time 1.764e-06/0.4054, allocations: 0 / 0.5489 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of Templates: time 0.02584/0.4312, allocations: 16.25 MB / 0.5648 GB, free: 1.32 MB / 0.5261 GB " [Timeout remaining time 660] 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 -ignoreHideResult -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.088772254064679]