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.002173/0.002173, allocations: 84.73 kB / 19.44 MB, free: 356 kB / 13.93 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.002507/0.002507, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.572/1.572, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.14/1.14, allocations: 118.6 MB / 378.2 MB, free: 1.473 MB / 346.7 MB " [Timeout remaining time 178] 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 1.903e-06/1.903e-06, allocations: 0 / 482.9 MB, free: 8.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.175e-05, allocations: 10.97 kB / 482.9 MB, free: 8.301 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.FlowControl.Tests.TanValve): time 0.2225/0.2225, allocations: 144.9 MB / 0.6131 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01901/0.2415, allocations: 10.32 MB / 0.6232 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001255/0.2428, allocations: 67.38 kB / 0.6232 GB, free: 5.223 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.2449, allocations: 0.5313 MB / 0.6237 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.2491, allocations: 0.9932 MB / 0.6247 GB, free: 3.688 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.2535, allocations: 0.8482 MB / 0.6255 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.003468/0.257, allocations: 1.566 MB / 0.6271 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000676/0.2577, allocations: 211.6 kB / 0.6273 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.26, allocations: 0.8608 MB / 0.6281 GB, free: 188 kB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.2614, allocations: 0.5648 MB / 0.6287 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002795/0.2617, allocations: 76 kB / 0.6287 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/0.265, allocations: 1.224 MB / 0.6299 GB, free: 14.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.2653, allocations: 215 kB / 0.6301 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006843/0.2659, allocations: 371 kB / 0.6305 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.2693, allocations: 1.682 MB / 0.6321 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2693, allocations: 4 kB / 0.6321 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2693, allocations: 0 / 0.6321 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.2693, allocations: 0 / 0.6321 GB, free: 12.05 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.00297/0.2723, allocations: 1.476 MB / 0.6336 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.2723, allocations: 12.03 kB / 0.6336 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004204/0.2727, allocations: 215.9 kB / 0.6338 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.2743, allocations: 0.833 MB / 0.6346 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.034e-05/0.2743, allocations: 54.38 kB / 0.6347 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.2745, allocations: 76.33 kB / 0.6347 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.2759, allocations: 0.7695 MB / 0.6355 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.276, allocations: 4.188 kB / 0.6355 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.272e-05/0.276, allocations: 31.88 kB / 0.6355 GB, free: 8.488 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.2761, allocations: 20 kB / 0.6355 GB, free: 8.469 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.2773, allocations: 0.6519 MB / 0.6362 GB, free: 7.82 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003537/0.2808, allocations: 2.037 MB / 0.6382 GB, free: 5.738 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.2822, allocations: 0.5087 MB / 0.6387 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004466/0.2826, allocations: 220 kB / 0.6389 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002058/0.2847, allocations: 0.8875 MB / 0.6397 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.2847, allocations: 39.06 kB / 0.6398 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=55): time 1.623e-06/0.2847, allocations: 0 / 0.6398 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of matching and sorting (n=56): time 0.003888/0.2886, allocations: 1.58 MB / 0.6413 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.2887, allocations: 67.78 kB / 0.6414 GB, free: 2.352 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.2898, allocations: 0.7447 MB / 0.6421 GB, free: 1.582 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.005e-05/0.2898, allocations: 37.7 kB / 0.6421 GB, free: 1.539 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/0.2903, allocations: 0.4888 MB / 0.6426 GB, free: 1.047 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.2905, allocations: 198.3 kB / 0.6428 GB, free: 0.8516 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.2906, allocations: 98.33 kB / 0.6429 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.2908, allocations: 322 kB / 0.6432 GB, free: 436 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.2912, allocations: 161.2 kB / 0.6434 GB, free: 276 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2683/0.5595, allocations: 250.6 kB / 0.6436 GB, free: 171 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.5608, allocations: 438.4 kB / 0.644 GB, free: 171 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.5608, allocations: 0.75 kB / 0.644 GB, free: 171 MB / 0.5573 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002307/0.5631, allocations: 0.7037 MB / 0.6447 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.5631, allocations: 6.031 kB / 0.6447 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.5631, allocations: 5.75 kB / 0.6447 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007343/0.5639, allocations: 133.6 kB / 0.6448 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.5643, allocations: 112.1 kB / 0.645 GB, free: 170.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002605/0.5669, allocations: 1.902 MB / 0.6468 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.5674, allocations: 20.08 kB / 0.6468 GB, free: 169.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.5674, allocations: 22.05 kB / 0.6468 GB, free: 169.4 MB / 0.5573 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.0003921/0.5678, allocations: 218.9 kB / 0.6471 GB, free: 169.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/0.5682, allocations: 133.7 kB / 0.6472 GB, free: 169.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.57, allocations: 0.8564 MB / 0.648 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.57, allocations: 8.219 kB / 0.648 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.57, allocations: 5.969 kB / 0.648 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.57, allocations: 3.047 kB / 0.648 GB, free: 168.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002647/0.5727, allocations: 1.324 MB / 0.6493 GB, free: 168.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5727, allocations: 0.8438 kB / 0.6493 GB, free: 168.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.573, allocations: 97.33 kB / 0.6494 GB, free: 168.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005714/0.5736, allocations: 148.5 kB / 0.6496 GB, free: 168.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.658e-05/0.5737, allocations: 18.38 kB / 0.6496 GB, free: 168.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002035/0.5757, allocations: 1.906 MB / 0.6514 GB, free: 166.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5757, allocations: 6.281 kB / 0.6515 GB, free: 166.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.5773, allocations: 1.003 MB / 0.6524 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.5776, allocations: 137.3 kB / 0.6526 GB, free: 166 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.575e-05/0.5776, allocations: 17.03 kB / 0.6526 GB, free: 166 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.578, allocations: 16.59 kB / 0.6526 GB, free: 166 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.5781, allocations: 48.8 kB / 0.6526 GB, free: 166 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.891e-05/0.5781, allocations: 23.52 kB / 0.6527 GB, free: 166 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000622/0.5787, allocations: 0.5373 MB / 0.6532 GB, free: 165.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.5787, allocations: 0 / 0.6532 GB, free: 165.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001037/0.5798, allocations: 347.9 kB / 0.6535 GB, free: 165.7 MB / 0.5573 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.0007256/0.5805, allocations: 494.8 kB / 0.654 GB, free: 165.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00122/0.5817, allocations: 0.5945 MB / 0.6546 GB, free: 165.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5817, allocations: 2.719 kB / 0.6546 GB, free: 165.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006556/0.5824, allocations: 403.9 kB / 0.655 GB, free: 165.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.5838, allocations: 348.6 kB / 0.6553 GB, free: 165 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.587, allocations: 1.749 MB / 0.657 GB, free: 164.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.5874, allocations: 452.8 kB / 0.6574 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005523/0.5879, allocations: 154.4 kB / 0.6576 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.5881, allocations: 86.59 kB / 0.6577 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.342e-06/0.5881, allocations: 0 / 0.6577 GB, free: 163.9 MB / 0.5573 GB Notification: Performance of Templates: time 0.03857/0.6267, allocations: 18.52 MB / 0.6757 GB, free: 158.5 MB / 0.5573 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=1200 -emit_protected -lv LOG_STATS > ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 1200] diffSimulationResults("ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve_res.mat","/mnt/ReferenceFiles/ThermofluidStream-main-regression/ReferenceData/ThermofluidStream.FlowControl.Tests.TanValve_ref.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.FlowControl.Tests.TanValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.1474514240399]