Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Undirected.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.001269/0.001269, allocations: 88.23 kB / 19.42 MB, free: 496 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.001295/0.001295, allocations: 169 kB / 22.72 MB, free: 1.828 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.026/1.026, allocations: 177.1 MB / 203.1 MB, free: 5.344 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.704/0.704, allocations: 118.6 MB / 378.2 MB, free: 1.453 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.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") translateModel(ThermofluidStream.Undirected.FlowControl.Tests.TanValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|boundary_fore.rear.m_flow|pulse.T_start|pulse.count|tanValve.rear.m_flow",fileNamePrefix="ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 482.9 MB, free: 8.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.243e-05, allocations: 6.25 kB / 482.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Undirected.FlowControl.Tests.TanValve): time 0.1495/0.1495, allocations: 136.4 MB / 0.6048 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004423/0.1539, allocations: 3.67 MB / 0.6084 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004695/0.1544, allocations: 71.38 kB / 0.6084 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007859/0.1552, allocations: 357 kB / 0.6088 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.1567, allocations: 1.242 MB / 0.61 GB, free: 2.758 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009162/0.1576, allocations: 0.7091 MB / 0.6107 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001818/0.1594, allocations: 2.788 MB / 0.6134 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004038/0.1598, allocations: 290.3 kB / 0.6137 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.1611, allocations: 1.442 MB / 0.6151 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001264/0.1623, allocations: 1.27 MB / 0.6163 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.1625, allocations: 144 kB / 0.6165 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006003/0.1631, allocations: 0.4993 MB / 0.617 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0002421/0.1633, allocations: 382.5 kB / 0.6173 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004247/0.1637, allocations: 0.5963 MB / 0.6179 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.1651, allocations: 1.662 MB / 0.6195 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1651, allocations: 0 / 0.6195 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1651, allocations: 0 / 0.6195 GB, free: 8.934 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.1651, allocations: 4 kB / 0.6195 GB, free: 8.93 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002409/0.1675, allocations: 2.049 MB / 0.6215 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1676, allocations: 12.03 kB / 0.6215 GB, free: 6.82 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003836/0.1679, allocations: 315.5 kB / 0.6218 GB, free: 6.512 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.1691, allocations: 0.9757 MB / 0.6228 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.603e-05/0.1692, allocations: 90.78 kB / 0.6229 GB, free: 5.406 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.1693, allocations: 120.4 kB / 0.623 GB, free: 5.289 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1706, allocations: 1.014 MB / 0.624 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1706, allocations: 3.938 kB / 0.624 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/0.1707, allocations: 51.98 kB / 0.624 GB, free: 4.172 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.1707, allocations: 32 kB / 0.6241 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1717, allocations: 0.7164 MB / 0.6248 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/0.1753, allocations: 3.39 MB / 0.6281 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.1765, allocations: 0.8544 MB / 0.6289 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.177, allocations: 357.3 kB / 0.6293 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/0.1791, allocations: 1.77 MB / 0.631 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006059/0.1797, allocations: 479 kB / 0.6314 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=128): time 2.234e-06/0.1797, allocations: 0 / 0.6314 GB, free: 12.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=129): time 0.003505/0.1832, allocations: 2.535 MB / 0.6339 GB, free: 9.898 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.1833, allocations: 68.66 kB / 0.634 GB, free: 9.82 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.1838, allocations: 0.6986 MB / 0.6347 GB, free: 9.105 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.1838, allocations: 45.7 kB / 0.6347 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.1841, allocations: 0.5977 MB / 0.6353 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002476/0.1844, allocations: 460 kB / 0.6357 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.1846, allocations: 208.6 kB / 0.6359 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.1849, allocations: 0.5238 MB / 0.6364 GB, free: 7.25 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003757/0.1852, allocations: 272.2 kB / 0.6367 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.1857, allocations: 417.7 kB / 0.6371 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/0.1866, allocations: 0.7359 MB / 0.6378 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1866, allocations: 0 / 0.6378 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001458/0.1881, allocations: 1.143 MB / 0.6389 GB, free: 4.602 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.1881, allocations: 35.89 kB / 0.639 GB, free: 4.562 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.1881, allocations: 4 kB / 0.639 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003942/0.1885, allocations: 127.5 kB / 0.6391 GB, free: 4.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000497/0.189, allocations: 251.7 kB / 0.6393 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00256/0.1916, allocations: 2.652 MB / 0.6419 GB, free: 1.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.1918, allocations: 43.97 kB / 0.642 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.1919, allocations: 51.98 kB / 0.642 GB, free: 1.316 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (126): * Single equations (assignments): 124 * 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 {(3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002701/0.1922, allocations: 220.3 kB / 0.6422 GB, free: 1.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002208/0.1924, allocations: 195 kB / 0.6424 GB, free: 0.8984 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.253/0.4454, allocations: 1.723 MB / 0.6441 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.4454, allocations: 17.72 kB / 0.6441 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.4454, allocations: 5.141 kB / 0.6441 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.4454, allocations: 7.484 kB / 0.6441 GB, free: 169.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/0.449, allocations: 2.314 MB / 0.6464 GB, free: 169 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.449, allocations: 4.125 kB / 0.6464 GB, free: 169 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005428/0.4496, allocations: 236.8 kB / 0.6466 GB, free: 169 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003359/0.4499, allocations: 140 kB / 0.6467 GB, free: 169 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.473e-05/0.45, allocations: 42.55 kB / 0.6468 GB, free: 169 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.4514, allocations: 2.528 MB / 0.6493 GB, free: 166.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.4514, allocations: 1.406 kB / 0.6493 GB, free: 166.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.4535, allocations: 1.604 MB / 0.6508 GB, free: 166.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.4538, allocations: 274.5 kB / 0.6511 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.301e-05/0.4539, allocations: 31.72 kB / 0.6511 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/0.4541, allocations: 47.48 kB / 0.6512 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/0.4543, allocations: 114.8 kB / 0.6513 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.4544, allocations: 42.84 kB / 0.6513 GB, free: 166.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003317/0.4547, allocations: 477.1 kB / 0.6518 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4547, allocations: 3.281 kB / 0.6518 GB, free: 165.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0008404/0.4555, allocations: 446.1 kB / 0.6522 GB, free: 165.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (flowResistance1.rear.m_flow,flowResistance2.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 (129): * Single equations (assignments): 126 * 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 {(3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004719/0.456, allocations: 269.5 kB / 0.6524 GB, free: 165.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.4574, allocations: 1.129 MB / 0.6536 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4574, allocations: 0 / 0.6536 GB, free: 165.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0007694/0.4582, allocations: 0.7384 MB / 0.6543 GB, free: 164.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.4594, allocations: 0.5128 MB / 0.6548 GB, free: 164.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.4627, allocations: 2.418 MB / 0.6571 GB, free: 163.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/0.4628, allocations: 271.3 kB / 0.6574 GB, free: 163.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006227/0.4635, allocations: 320 kB / 0.6577 GB, free: 163.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002804/0.4638, allocations: 148.8 kB / 0.6578 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.4638, allocations: 3.938 kB / 0.6578 GB, free: 163.4 MB / 0.5573 GB Notification: Performance of Templates: time 0.02865/0.4924, allocations: 24.18 MB / 0.6815 GB, free: 152.8 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.makefile [Timeout 660] (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.sim & (cd run_cvode && ../ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS -f=../ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_init.xml -r=../ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_res.mat -s cvode) > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve.pipe 2>&1) [Timeout 240] cvode failed or timed out simulating it; the others still get to run it (rm -f ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_gbode.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_gbode.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_gbode.sim & (cd run_gbode && ../ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS -f=../ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_init.xml -r=../ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_gbode_res.mat -s gbode -gbm=radauIIA3) > ThermofluidStream_dev_ThermofluidStream.Undirected.FlowControl.Tests.TanValve_gbode.pipe 2>&1) [Timeout 240] gbode timed out simulating the model [Calling sys.exit(0), Time elapsed: 4.7683043596334755]