Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002095/0.002094, allocations: 108.2 kB / 16.4 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.631/1.631, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.06729/0.06729, allocations: 8.405 MB / 305.6 MB, free: 4.301 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.001961, allocations: 63.89 kB / 422.5 MB, free: 20.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1168, allocations: 51.38 MB / 473.9 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.008629/0.1255, allocations: 5.159 MB / 479.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00586/0.1314, allocations: 2.09 MB / 481.1 MB, free: 9.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.1327, allocations: 15.94 kB / 481.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009337/0.1337, allocations: 222.5 kB / 481.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.1348, allocations: 262.2 kB / 481.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.1365, allocations: 0.5047 MB / 482.1 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.1386, allocations: 1.033 MB / 483.2 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.1397, allocations: 0.4999 MB / 483.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009086/0.1406, allocations: 394.5 kB / 484.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008892/0.1415, allocations: 442.1 kB / 484.5 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.1417, allocations: 116 kB / 484.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.1423, allocations: 203.9 kB / 484.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.1426, allocations: 259.2 kB / 485.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006727/0.1433, allocations: 493.5 kB / 485.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002746/0.1461, allocations: 1.323 MB / 486.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1461, allocations: 0 / 486.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1461, allocations: 0 / 486.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.386e-05/0.1461, allocations: 0 / 486.9 MB, free: 4.078 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003139/0.1493, allocations: 1.346 MB / 488.2 MB, free: 2.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.1494, allocations: 19.83 kB / 488.2 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002808/0.1497, allocations: 112.2 kB / 488.3 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.1511, allocations: 0.6286 MB / 489 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.1513, allocations: 88.02 kB / 489 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.1515, allocations: 68 kB / 489.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.1535, allocations: 0.7372 MB / 489.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.1535, allocations: 3.953 kB / 489.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/0.1536, allocations: 31.98 kB / 489.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.1537, allocations: 16 kB / 489.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.1557, allocations: 0.5243 MB / 490.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004824/0.1605, allocations: 2.709 MB / 493.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.1617, allocations: 471.2 kB / 493.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.1622, allocations: 201 kB / 493.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/0.1622, allocations: 4.281 kB / 493.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006346/0.1628, allocations: 285.3 kB / 494.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=36): time 2.365e-06/0.1629, allocations: 0 / 494.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.001933/0.1648, allocations: 0.7527 MB / 494.8 MB, free: 11.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002598/0.1651, allocations: 192 kB / 495 MB, free: 11.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.1664, allocations: 0.8518 MB / 495.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.1665, allocations: 37.69 kB / 495.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003742/0.1669, allocations: 412.6 kB / 496.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.167, allocations: 130.9 kB / 496.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.1672, allocations: 114.2 kB / 496.5 MB, free: 9.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.1674, allocations: 378.8 kB / 496.9 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.1679, allocations: 195 kB / 497.1 MB, free: 9.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.1686, allocations: 331.9 kB / 497.4 MB, free: 9.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.1699, allocations: 0.6133 MB / 498 MB, free: 8.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1699, allocations: 3.938 kB / 498 MB, free: 8.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001557/0.1714, allocations: 0.716 MB / 498.8 MB, free: 7.574 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.1715, allocations: 93.09 kB / 498.9 MB, free: 7.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1715, allocations: 4 kB / 498.9 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.1717, allocations: 28.84 kB / 498.9 MB, free: 7.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.1722, allocations: 112.2 kB / 499 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.1734, allocations: 1.382 MB / 0.4887 GB, free: 5.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.174, allocations: 87.52 kB / 0.4887 GB, free: 5.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.757e-05/0.174, allocations: 20 kB / 0.4888 GB, free: 5.695 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007704/0.1748, allocations: 397.1 kB / 0.4891 GB, free: 5.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000542/0.1754, allocations: 317.5 kB / 0.4894 GB, free: 4.941 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001034/0.1764, allocations: 0.586 MB / 0.49 GB, free: 4.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.124e-06/0.1764, allocations: 4 kB / 0.49 GB, free: 4.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.001522/0.1779, allocations: 0.6887 MB / 0.4907 GB, free: 3.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.1782, allocations: 89.11 kB / 0.4908 GB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1782, allocations: 4 kB / 0.4908 GB, free: 3.445 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.1783, allocations: 32.88 kB / 0.4908 GB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003964/0.1787, allocations: 108.2 kB / 0.4909 GB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.1805, allocations: 1.386 MB / 0.4923 GB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/0.181, allocations: 71.69 kB / 0.4923 GB, free: 1.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.023e-05/0.1811, allocations: 24 kB / 0.4924 GB, free: 1.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 (oneFlange.limTau.state,oneFlange.limitingTorque,tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,$whenCondition1,oneFlange.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00032/0.1814, allocations: 295.9 kB / 0.4926 GB, free: 1.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.1815, allocations: 75.53 kB / 0.4927 GB, free: 1.297 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.1828, allocations: 0.5392 MB / 0.4932 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.1829, allocations: 4 kB / 0.4932 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1829, allocations: 7.938 kB / 0.4932 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.1829, allocations: 3.984 kB / 0.4932 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/0.1854, allocations: 1.324 MB / 0.4945 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1854, allocations: 0 / 0.4945 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/0.1857, allocations: 67.95 kB / 0.4946 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-05/0.1858, allocations: 24.78 kB / 0.4946 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.1859, allocations: 12 kB / 0.4946 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.1873, allocations: 1.371 MB / 0.496 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.1873, allocations: 7.875 kB / 0.496 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.1892, allocations: 0.8481 MB / 0.4968 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003996/0.1896, allocations: 192.6 kB / 0.497 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.592e-05/0.1897, allocations: 15.94 kB / 0.497 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/0.1901, allocations: 51.95 kB / 0.4971 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.1903, allocations: 35.95 kB / 0.4971 GB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.1903, allocations: 12 kB / 0.4971 GB, free: 12.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008656/0.1912, allocations: 0.5889 MB / 0.4977 GB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1912, allocations: 0 / 0.4977 GB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001023/0.1922, allocations: 335.1 kB / 0.498 GB, free: 11.59 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlange.pDC.integrator1.y) * Number of discrete variables: 5 ($whenCondition1,tauRef.T_start,tauRef.count,oneFlange.limitingTorque,oneFlange.limTau.state) * Number of discrete states: 2 (tauRef.count,oneFlange.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002443/0.1947, allocations: 0.6377 MB / 0.4986 GB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.1974, allocations: 1.296 MB / 0.4999 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.1974, allocations: 3.938 kB / 0.4999 GB, free: 9.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008058/0.1982, allocations: 445.9 kB / 0.5003 GB, free: 9.355 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008333/0.1991, allocations: 115.8 kB / 0.5004 GB, free: 9.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002803/0.2019, allocations: 1.504 MB / 0.5019 GB, free: 7.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.2026, allocations: 0.9683 MB / 0.5028 GB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000312/0.2029, allocations: 76.66 kB / 0.5029 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.203, allocations: 43.44 kB / 0.503 GB, free: 6.586 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.203, allocations: 0 / 0.503 GB, free: 6.586 MB / 382.1 MB Notification: Performance of Templates: time 0.224/0.4271, allocations: 9.083 MB / 0.5118 GB, free: 44.43 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.488965537399054]