Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001384/0.001384, allocations: 80.2 kB / 19.76 MB, free: 2.027 MB / 14.72 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.001443/0.001443, allocations: 158.4 kB / 23.01 MB, free: 4.949 MB / 14.72 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.42/1.42, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.03965/0.03965, allocations: 6.495 MB / 266.3 MB, free: 10.22 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003048/0.003048, allocations: 67.91 kB / 392.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1203, allocations: 55.4 MB / 448 MB, free: 3.473 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006668/0.127, allocations: 4.103 MB / 452.1 MB, free: 15.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004339/0.1313, allocations: 2.33 MB / 454.5 MB, free: 13.01 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005481/0.1319, allocations: 15.94 kB / 454.5 MB, free: 12.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005836/0.1324, allocations: 166.6 kB / 454.6 MB, free: 12.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.1335, allocations: 286.1 kB / 454.9 MB, free: 12.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1345, allocations: 439 kB / 455.4 MB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.1358, allocations: 0.9508 MB / 456.3 MB, free: 11.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005905/0.1364, allocations: 337.1 kB / 456.6 MB, free: 10.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005952/0.137, allocations: 402.6 kB / 457 MB, free: 10.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.1375, allocations: 354.2 kB / 457.4 MB, free: 10.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.1376, allocations: 108 kB / 457.5 MB, free: 9.965 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.1379, allocations: 140 kB / 457.6 MB, free: 9.828 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.1381, allocations: 247.2 kB / 457.9 MB, free: 9.586 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004005/0.1385, allocations: 374.3 kB / 458.2 MB, free: 9.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.1401, allocations: 1.218 MB / 459.4 MB, free: 7.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1401, allocations: 0 / 459.4 MB, free: 7.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1401, allocations: 0 / 459.4 MB, free: 7.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.1401, allocations: 0 / 459.4 MB, free: 7.996 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.002695/0.1428, allocations: 1.199 MB / 460.6 MB, free: 6.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.1429, allocations: 8.031 kB / 460.6 MB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.1431, allocations: 104.3 kB / 460.7 MB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009853/0.1441, allocations: 0.5155 MB / 461.3 MB, free: 6.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.1442, allocations: 54.38 kB / 461.3 MB, free: 6.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.1443, allocations: 84.11 kB / 461.4 MB, free: 5.957 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.1459, allocations: 0.8482 MB / 462.2 MB, free: 5.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.1459, allocations: 4 kB / 462.2 MB, free: 5.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.146, allocations: 32 kB / 462.3 MB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.146, allocations: 20 kB / 462.3 MB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.1473, allocations: 0.5889 MB / 462.9 MB, free: 4.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/0.1515, allocations: 2.287 MB / 465.2 MB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/0.1526, allocations: 434 kB / 465.6 MB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.1531, allocations: 228.5 kB / 465.8 MB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.306e-05/0.1531, allocations: 4 kB / 465.8 MB, free: 1.332 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007306/0.1538, allocations: 390.4 kB / 466.2 MB, free: 0.9102 MB / 430.1 MB Notification: Performance of pre-optimization done (n=35): time 2.294e-06/0.1538, allocations: 4 kB / 466.2 MB, free: 0.9062 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.001936/0.1558, allocations: 0.7752 MB / 467 MB, free: 88 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.1559, allocations: 136.5 kB / 467.1 MB, free: 15.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.1567, allocations: 0.6034 MB / 467.7 MB, free: 15.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.1568, allocations: 37.7 kB / 467.8 MB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.1571, allocations: 404.2 kB / 468.2 MB, free: 14.87 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1572, allocations: 123 kB / 468.3 MB, free: 14.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001778/0.1574, allocations: 102.1 kB / 468.4 MB, free: 14.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1576, allocations: 370.7 kB / 468.7 MB, free: 14.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.1582, allocations: 271.8 kB / 469 MB, free: 13.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/0.1588, allocations: 405.4 kB / 469.4 MB, free: 13.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.1599, allocations: 0.5997 MB / 470 MB, free: 12.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.1599, allocations: 0 / 470 MB, free: 12.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001498/0.1614, allocations: 0.7594 MB / 470.8 MB, free: 12.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.445e-05/0.1615, allocations: 93.09 kB / 470.8 MB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.1615, allocations: 4 kB / 470.9 MB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001734/0.1617, allocations: 24.84 kB / 470.9 MB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.1621, allocations: 96.22 kB / 471 MB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.1634, allocations: 1.26 MB / 472.2 MB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004524/0.1639, allocations: 79.64 kB / 472.3 MB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.1639, allocations: 20 kB / 472.3 MB, free: 10.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007953/0.1647, allocations: 454.3 kB / 472.8 MB, free: 9.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006055/0.1653, allocations: 397.4 kB / 473.2 MB, free: 9.406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001023/0.1663, allocations: 0.567 MB / 473.7 MB, free: 8.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.355e-06/0.1663, allocations: 4 kB / 473.7 MB, free: 8.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.00137/0.1677, allocations: 0.7301 MB / 474.5 MB, free: 7.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.112e-05/0.1678, allocations: 97.09 kB / 474.6 MB, free: 7.867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1678, allocations: 4 kB / 474.6 MB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.082e-05/0.1679, allocations: 20.86 kB / 474.6 MB, free: 7.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.1683, allocations: 95.88 kB / 474.7 MB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.1694, allocations: 1.276 MB / 476 MB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.1698, allocations: 67.73 kB / 476 MB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.1699, allocations: 23.94 kB / 476 MB, free: 6.273 MB / 446.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: 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 (55): * Single equations (assignments): 51 * 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.0002556/0.1701, allocations: 263.6 kB / 476.3 MB, free: 5.996 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.1702, allocations: 59.72 kB / 476.4 MB, free: 5.938 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001303/0.1715, allocations: 0.5881 MB / 476.9 MB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.1715, allocations: 4 kB / 476.9 MB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.1715, allocations: 0 / 476.9 MB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1715, allocations: 3.984 kB / 477 MB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002131/0.1737, allocations: 1.143 MB / 478.1 MB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1737, allocations: 0 / 478.1 MB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.174, allocations: 67.89 kB / 478.2 MB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-05/0.1741, allocations: 20.84 kB / 478.2 MB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.1741, allocations: 12 kB / 478.2 MB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.1752, allocations: 1.26 MB / 479.5 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1752, allocations: 0 / 479.5 MB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.177, allocations: 0.9338 MB / 480.4 MB, free: 1.641 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.1771, allocations: 63.64 kB / 480.4 MB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.518e-05/0.1772, allocations: 11.94 kB / 480.5 MB, free: 1.566 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.1776, allocations: 43.95 kB / 480.5 MB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1777, allocations: 39.88 kB / 480.5 MB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.378e-05/0.1777, allocations: 12.09 kB / 480.6 MB, free: 1.473 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005603/0.1783, allocations: 430.8 kB / 481 MB, free: 1.055 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1783, allocations: 3.938 kB / 481 MB, free: 1.051 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009432/0.1792, allocations: 334.8 kB / 481.3 MB, free: 0.7227 MB / 446.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 (32): * Single equations (assignments): 27 * 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.00144/0.1807, allocations: 390.1 kB / 481.7 MB, free: 500 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1883/0.3689, allocations: 1.435 MB / 483.1 MB, free: 71.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.3689, allocations: 0 / 483.1 MB, free: 71.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006061/0.3695, allocations: 484.6 kB / 483.6 MB, free: 71.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006482/0.3702, allocations: 78.98 kB / 483.7 MB, free: 71.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/0.3722, allocations: 1.426 MB / 485.1 MB, free: 70.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3725, allocations: 344.5 kB / 485.4 MB, free: 70.74 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002221/0.3727, allocations: 61.22 kB / 485.5 MB, free: 70.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3728, allocations: 41.38 kB / 485.5 MB, free: 70.73 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3728, allocations: 0 / 485.5 MB, free: 70.73 MB / 446.1 MB Notification: Performance of Templates: time 0.01227/0.3851, allocations: 7.524 MB / 493.1 MB, free: 69.91 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.95730658294633] Failed to read output from testmodel.py, exit status != 0: 0.3950719250133261 0.40285591200000004 0.260440879 Calling exit ...