Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.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.000934/0.000934, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009316/0.0009316, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.8886/0.8886, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02729/0.02729, allocations: 6.482 MB / 266.4 MB, free: 6.629 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.157e-05/3.412e-05, allocations: 4.703 kB / 338.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.006853/0.006887, allocations: 5.147 MB / 343.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003173/0.01006, allocations: 1.62 MB / 344.8 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007297/0.01079, allocations: 23.88 kB / 344.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005998/0.01139, allocations: 198.5 kB / 345.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009114/0.0123, allocations: 305.8 kB / 345.4 MB, free: 3.473 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.01294, allocations: 375.3 kB / 345.7 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006541/0.01359, allocations: 0.9818 MB / 346.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.01398, allocations: 364.4 kB / 347.1 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004931/0.01447, allocations: 0.573 MB / 347.6 MB, free: 1.164 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.01475, allocations: 335.1 kB / 348 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.01482, allocations: 108 kB / 348.1 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.01497, allocations: 155.8 kB / 348.2 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.01507, allocations: 223.2 kB / 348.4 MB, free: 368 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001488/0.01522, allocations: 295.2 kB / 348.7 MB, free: 72 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007418/0.01597, allocations: 0.6812 MB / 349.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.01597, allocations: 0 / 349.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01597, allocations: 4 kB / 349.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.01598, allocations: 0 / 349.4 MB, free: 15.38 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001507/0.01749, allocations: 1.241 MB / 350.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.01753, allocations: 12.03 kB / 350.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.01771, allocations: 156.4 kB / 350.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.01827, allocations: 478 kB / 351.3 MB, free: 13.43 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.0184, allocations: 106 kB / 351.4 MB, free: 13.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.549e-05/0.01849, allocations: 76.38 kB / 351.5 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.01933, allocations: 0.6734 MB / 352.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.01935, allocations: 4 kB / 352.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.0194, allocations: 32 kB / 352.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.01942, allocations: 16 kB / 352.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.01988, allocations: 315.1 kB / 352.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.02222, allocations: 2.362 MB / 354.9 MB, free: 9.672 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.02272, allocations: 284 kB / 355.1 MB, free: 9.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.02287, allocations: 139.3 kB / 355.3 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.02292, allocations: 12.27 kB / 355.3 MB, free: 9.207 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003118/0.02323, allocations: 309 kB / 355.6 MB, free: 8.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.743e-06/0.02323, allocations: 0 / 355.6 MB, free: 8.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007575/0.02399, allocations: 0.5651 MB / 356.1 MB, free: 8.246 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/0.02405, allocations: 140.5 kB / 356.3 MB, free: 8.078 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.02444, allocations: 494.6 kB / 356.8 MB, free: 7.578 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.02446, allocations: 37.7 kB / 356.8 MB, free: 7.535 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.02467, allocations: 439 kB / 357.2 MB, free: 7.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.02474, allocations: 130.9 kB / 357.4 MB, free: 6.973 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.02486, allocations: 99.84 kB / 357.5 MB, free: 6.867 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.025, allocations: 0.5313 MB / 358 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.02517, allocations: 174.7 kB / 358.2 MB, free: 6.133 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.02541, allocations: 358.7 kB / 358.5 MB, free: 5.688 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003794/0.02579, allocations: 480.7 kB / 359 MB, free: 5.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02579, allocations: 4 kB / 359 MB, free: 5.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005948/0.02639, allocations: 0.5985 MB / 359.6 MB, free: 4.473 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.99e-05/0.02644, allocations: 93.09 kB / 359.7 MB, free: 4.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02644, allocations: 4 kB / 359.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.02659, allocations: 23.69 kB / 359.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.02681, allocations: 99.81 kB / 359.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007994/0.02761, allocations: 1.74 MB / 361.5 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.02783, allocations: 63.66 kB / 361.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.02785, allocations: 20 kB / 361.6 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000262/0.02812, allocations: 300.9 kB / 361.9 MB, free: 1.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002308/0.02835, allocations: 362.6 kB / 362.3 MB, free: 1.531 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003492/0.0287, allocations: 463.2 kB / 362.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.934e-06/0.0287, allocations: 4 kB / 362.7 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.000567/0.02927, allocations: 0.5883 MB / 363.3 MB, free: 352 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.02931, allocations: 93.11 kB / 363.4 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.02931, allocations: 448 / 363.4 MB, free: 240 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.364e-05/0.02938, allocations: 31.67 kB / 363.4 MB, free: 204 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.02958, allocations: 91.83 kB / 363.5 MB, free: 112 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007112/0.03029, allocations: 1.736 MB / 365.3 MB, free: 14.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.03053, allocations: 63.88 kB / 365.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.03055, allocations: 20 kB / 365.3 MB, free: 14.17 MB / 298.7 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 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlange.limTau.state,oneFlange.limitingTorque,$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 (56): * Single equations (assignments): 52 * 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.0001726/0.03073, allocations: 360.3 kB / 365.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.0308, allocations: 71.61 kB / 365.8 MB, free: 13.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.03131, allocations: 430 kB / 366.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.03131, allocations: 8 kB / 366.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.03132, allocations: 0 / 366.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.03132, allocations: 11.97 kB / 366.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.03233, allocations: 0.9963 MB / 367.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.03233, allocations: 4 kB / 367.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.03251, allocations: 63.89 kB / 367.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-05/0.03259, allocations: 15.69 kB / 367.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.03261, allocations: 11.98 kB / 367.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000685/0.0333, allocations: 1.732 MB / 369 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.0333, allocations: 3.984 kB / 369 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006667/0.03397, allocations: 0.7216 MB / 369.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.03411, allocations: 91.52 kB / 369.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.104e-05/0.03415, allocations: 8 kB / 369.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.03431, allocations: 40.09 kB / 369.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.12e-05/0.0344, allocations: 35.94 kB / 369.9 MB, free: 9.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/0.03442, allocations: 12 kB / 369.9 MB, free: 9.258 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002509/0.03468, allocations: 322.8 kB / 370.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03468, allocations: 0 / 370.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006439/0.03532, allocations: 311 kB / 370.5 MB, free: 8.641 MB / 298.7 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,oneFlange.limitingTorque,oneFlange.limTau.state,tauRef.T_start,tauRef.count) * 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.0007902/0.03611, allocations: 358.8 kB / 370.9 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/0.03726, allocations: 1.321 MB / 372.2 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.03726, allocations: 448 / 372.2 MB, free: 6.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.03758, allocations: 471.6 kB / 372.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.03795, allocations: 89.05 kB / 372.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.03987, allocations: 1.216 MB / 374 MB, free: 5.047 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.678e-05/0.03996, allocations: 145.7 kB / 374.1 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001834/0.04015, allocations: 59.23 kB / 374.2 MB, free: 4.828 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.04024, allocations: 44.48 kB / 374.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of SimCode: time 1.342e-06/0.04024, allocations: 0 / 374.2 MB, free: 4.785 MB / 298.7 MB Notification: Performance of Templates: time 0.01022/0.05046, allocations: 7.141 MB / 381.4 MB, free: 13.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.955614462029189]