Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 249.9 MB, free: 13.47 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04211/0.04211, allocations: 8.144 MB / 313.2 MB, free: 1.086 MB / 238.1 MB [Timeout remaining time 90] Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.89 kB / 436.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0962/0.09811, allocations: 54 MB / 490.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange): time 0.006321/0.1044, allocations: 4.323 MB / 494.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003562/0.108, allocations: 1.461 MB / 496 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000517/0.1085, allocations: 15.94 kB / 496 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005561/0.1091, allocations: 154.8 kB / 496.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007603/0.1098, allocations: 214.4 kB / 496.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1109, allocations: 401 kB / 496.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.1123, allocations: 0.8806 MB / 497.6 MB, free: 344 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007882/0.1131, allocations: 339.9 kB / 497.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.1136, allocations: 338.9 kB / 498.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007561/0.1144, allocations: 394.3 kB / 498.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001863/0.1146, allocations: 100 kB / 498.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003044/0.1149, allocations: 128 kB / 498.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003066/0.1152, allocations: 211.4 kB / 499.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005514/0.1157, allocations: 430 kB / 499.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.1175, allocations: 1.09 MB / 0.4889 GB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1175, allocations: 0 / 0.4889 GB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1175, allocations: 3.938 kB / 0.4889 GB, free: 13.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.1175, allocations: 4 kB / 0.4889 GB, free: 13.31 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002881/0.1204, allocations: 1.17 MB / 0.49 GB, free: 12.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.1204, allocations: 12.02 kB / 0.49 GB, free: 12.06 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002555/0.1207, allocations: 88.42 kB / 0.4901 GB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.1218, allocations: 0.5093 MB / 0.4906 GB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-05/0.1219, allocations: 50 kB / 0.4907 GB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.122, allocations: 79.94 kB / 0.4907 GB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.1241, allocations: 0.7075 MB / 0.4914 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.1242, allocations: 7.875 kB / 0.4914 GB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.688e-05/0.1243, allocations: 28 kB / 0.4915 GB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.1243, allocations: 16 kB / 0.4915 GB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.1261, allocations: 0.5016 MB / 0.492 GB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005754/0.1318, allocations: 2.549 MB / 0.4944 GB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.1332, allocations: 419.5 kB / 0.4948 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006814/0.1339, allocations: 156.8 kB / 0.495 GB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/0.1339, allocations: 7.984 kB / 0.495 GB, free: 6.746 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008179/0.1348, allocations: 263.1 kB / 0.4953 GB, free: 6.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.875e-06/0.1348, allocations: 0 / 0.4953 GB, free: 6.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.0024/0.1372, allocations: 0.7164 MB / 0.496 GB, free: 5.715 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/0.1374, allocations: 144.5 kB / 0.4961 GB, free: 5.543 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.1386, allocations: 0.5645 MB / 0.4966 GB, free: 4.965 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-05/0.1387, allocations: 33.7 kB / 0.4967 GB, free: 4.926 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004093/0.1391, allocations: 360.7 kB / 0.497 GB, free: 4.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002143/0.1393, allocations: 123 kB / 0.4971 GB, free: 4.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001995/0.1395, allocations: 78.02 kB / 0.4972 GB, free: 4.363 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003052/0.1398, allocations: 370.7 kB / 0.4976 GB, free: 3.992 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006207/0.1405, allocations: 158.3 kB / 0.4977 GB, free: 3.836 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.1412, allocations: 263.3 kB / 0.498 GB, free: 3.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.1426, allocations: 0.5464 MB / 0.4985 GB, free: 2.922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1426, allocations: 0 / 0.4985 GB, free: 2.922 MB / 366.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001893/0.1444, allocations: 0.6082 MB / 0.4991 GB, free: 2.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.1446, allocations: 97.09 kB / 0.4992 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.1446, allocations: 3.938 kB / 0.4992 GB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002428/0.1448, allocations: 24.86 kB / 0.4992 GB, free: 2.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004961/0.1453, allocations: 79.88 kB / 0.4993 GB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.147, allocations: 1.391 MB / 0.5007 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000746/0.1477, allocations: 87.73 kB / 0.5007 GB, free: 456 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-05/0.1478, allocations: 16.09 kB / 0.5008 GB, free: 440 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009443/0.1487, allocations: 328.8 kB / 0.5011 GB, free: 108 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008404/0.1496, allocations: 255.2 kB / 0.5013 GB, free: 15.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001253/0.1508, allocations: 0.5188 MB / 0.5018 GB, free: 15.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.145e-06/0.1508, allocations: 0 / 0.5018 GB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001735/0.1526, allocations: 0.5882 MB / 0.5024 GB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/0.1527, allocations: 85.11 kB / 0.5025 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.1527, allocations: 8 kB / 0.5025 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001306/0.1528, allocations: 25.22 kB / 0.5025 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.1532, allocations: 83.83 kB / 0.5026 GB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.1551, allocations: 1.391 MB / 0.5039 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006469/0.1557, allocations: 63.73 kB / 0.504 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.356e-05/0.1558, allocations: 20 kB / 0.504 GB, free: 12.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * 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.0003291/0.1561, allocations: 275.6 kB / 0.5043 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.1562, allocations: 55.62 kB / 0.5043 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.158, allocations: 0.5142 MB / 0.5048 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.158, allocations: 0 / 0.5048 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.158, allocations: 8 kB / 0.5048 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.158, allocations: 3.984 kB / 0.5048 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003009/0.161, allocations: 1.179 MB / 0.506 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.161, allocations: 4 kB / 0.506 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004453/0.1615, allocations: 55.95 kB / 0.5061 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.1616, allocations: 28.78 kB / 0.5061 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.1617, allocations: 8 kB / 0.5061 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001601/0.1633, allocations: 1.387 MB / 0.5074 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1633, allocations: 0 / 0.5074 GB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.1655, allocations: 0.7971 MB / 0.5082 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.1658, allocations: 132.8 kB / 0.5084 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.1659, allocations: 12 kB / 0.5084 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.1664, allocations: 47.94 kB / 0.5084 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.1666, allocations: 31.97 kB / 0.5084 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.1666, allocations: 8 kB / 0.5084 GB, free: 7.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008599/0.1675, allocations: 414.8 kB / 0.5088 GB, free: 7.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1675, allocations: 0 / 0.5088 GB, free: 7.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.1684, allocations: 295.1 kB / 0.5091 GB, free: 7.242 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,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * 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.001311/0.1697, allocations: 366.4 kB / 0.5095 GB, free: 7.012 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.1719, allocations: 1.135 MB / 0.5106 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.172, allocations: 0 / 0.5106 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.1726, allocations: 405.3 kB / 0.511 GB, free: 5.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.1733, allocations: 112.1 kB / 0.5111 GB, free: 5.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.1758, allocations: 1.273 MB / 0.5123 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006118/0.1764, allocations: 0.8978 MB / 0.5132 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.1765, allocations: 35.44 kB / 0.5132 GB, free: 2.969 MB / 382.1 MB Notification: Performance of SimCode: time 1.493e-06/0.1765, allocations: 0 / 0.5132 GB, free: 2.969 MB / 382.1 MB Notification: Performance of Templates: time 0.1965/0.373, allocations: 10.73 MB / 0.5237 GB, free: 35.7 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange.pipe 2>&1) [Timeout 480]