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.001043/0.001043, allocations: 93.06 kB / 19.65 MB, free: 280 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.001108/0.001108, allocations: 173 kB / 23.02 MB, free: 1.547 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.074/1.074, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.03854/0.03854, allocations: 6.48 MB / 266.4 MB, free: 6.652 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 3.737e-06/3.737e-06, allocations: 0 / 338.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.065e-05/4.438e-05, allocations: 2.312 kB / 338.1 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1Conn): time 0.01003/0.01008, allocations: 5.159 MB / 343.2 MB, free: 5.621 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004299/0.01438, allocations: 1.624 MB / 344.8 MB, free: 3.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00139/0.01577, allocations: 23.88 kB / 344.9 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000912/0.01668, allocations: 198.5 kB / 345.1 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.01826, allocations: 297.9 kB / 345.4 MB, free: 3.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.01951, allocations: 375.3 kB / 345.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.02117, allocations: 0.9819 MB / 346.7 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008262/0.022, allocations: 360.3 kB / 347.1 MB, free: 1.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.02312, allocations: 0.5691 MB / 347.6 MB, free: 1.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005857/0.0237, allocations: 343 kB / 348 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001836/0.02388, allocations: 108 kB / 348.1 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.0242, allocations: 151.9 kB / 348.2 MB, free: 0.5898 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.0244, allocations: 223.2 kB / 348.4 MB, free: 380 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.02478, allocations: 291.3 kB / 348.7 MB, free: 88 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.02622, allocations: 0.6889 MB / 349.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.02623, allocations: 0 / 349.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.02623, allocations: 0 / 349.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.02625, allocations: 0 / 349.4 MB, free: 15.39 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.002331/0.02858, allocations: 1.229 MB / 350.6 MB, free: 14.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.545e-05/0.02865, allocations: 19.97 kB / 350.7 MB, free: 14.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003007/0.02895, allocations: 156.4 kB / 350.8 MB, free: 13.94 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009629/0.02991, allocations: 478 kB / 351.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.0301, allocations: 113.9 kB / 351.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.03023, allocations: 72.38 kB / 351.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.03153, allocations: 0.6657 MB / 352.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.03157, allocations: 8 kB / 352.1 MB, free: 12.52 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.067e-05/0.03164, allocations: 28 kB / 352.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.03166, allocations: 16 kB / 352.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/0.03245, allocations: 323.1 kB / 352.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004224/0.03667, allocations: 2.358 MB / 354.8 MB, free: 9.688 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008275/0.0375, allocations: 283.9 kB / 355.1 MB, free: 9.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002606/0.03776, allocations: 155.3 kB / 355.3 MB, free: 9.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.823e-05/0.03781, allocations: 4.281 kB / 355.3 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005071/0.03832, allocations: 309 kB / 355.6 MB, free: 8.867 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 4.308e-06/0.03832, allocations: 3.938 kB / 355.6 MB, free: 8.863 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.001284/0.0396, allocations: 0.5535 MB / 356.1 MB, free: 8.262 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.387e-05/0.0397, allocations: 140.5 kB / 356.3 MB, free: 8.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007351/0.04043, allocations: 494.6 kB / 356.8 MB, free: 7.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.295e-05/0.04047, allocations: 37.7 kB / 356.8 MB, free: 7.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.0407, allocations: 439.1 kB / 357.2 MB, free: 7.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.393e-05/0.04078, allocations: 130.9 kB / 357.4 MB, free: 6.988 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.0409, allocations: 95.84 kB / 357.4 MB, free: 6.887 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.04106, allocations: 0.5391 MB / 358 MB, free: 6.336 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.04125, allocations: 174.7 kB / 358.2 MB, free: 6.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.04149, allocations: 358.7 kB / 358.5 MB, free: 5.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.0419, allocations: 476.7 kB / 359 MB, free: 5.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.04191, allocations: 4 kB / 359 MB, free: 5.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006529/0.04256, allocations: 0.602 MB / 359.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/0.04262, allocations: 93.09 kB / 359.7 MB, free: 4.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.04263, allocations: 4.438 kB / 359.7 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.04281, allocations: 27.67 kB / 359.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.04306, allocations: 95.83 kB / 359.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.04407, allocations: 1.736 MB / 361.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.04433, allocations: 75.7 kB / 361.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.04436, allocations: 20 kB / 361.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002782/0.04464, allocations: 300.9 kB / 361.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002517/0.04489, allocations: 350.7 kB / 362.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004365/0.04533, allocations: 475.1 kB / 362.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/0.04533, allocations: 0 / 362.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001111/0.04644, allocations: 0.5845 MB / 363.3 MB, free: 364 kB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.932e-05/0.0465, allocations: 93.09 kB / 363.4 MB, free: 252 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.04651, allocations: 4 kB / 363.4 MB, free: 248 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.04663, allocations: 27.61 kB / 363.4 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.04684, allocations: 92.33 kB / 363.5 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008264/0.04766, allocations: 1.736 MB / 365.3 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.0479, allocations: 55.77 kB / 365.3 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.04793, allocations: 23.94 kB / 365.3 MB, free: 14.18 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.0002326/0.04816, allocations: 359.5 kB / 365.7 MB, free: 13.81 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.04824, allocations: 71.61 kB / 365.8 MB, free: 13.74 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000547/0.04879, allocations: 438 kB / 366.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.04879, allocations: 4 kB / 366.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.0488, allocations: 0 / 366.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.0488, allocations: 0 / 366.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.04993, allocations: 1 MB / 367.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.04994, allocations: 8 kB / 367.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.05011, allocations: 55.91 kB / 367.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.471e-05/0.0502, allocations: 23.67 kB / 367.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.498e-05/0.05022, allocations: 11.94 kB / 367.3 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007791/0.051, allocations: 1.736 MB / 369 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.051, allocations: 0 / 369 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006923/0.05169, allocations: 0.7216 MB / 369.7 MB, free: 9.457 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.05183, allocations: 91.5 kB / 369.8 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.05187, allocations: 16 kB / 369.8 MB, free: 9.352 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.05203, allocations: 27.97 kB / 369.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.05214, allocations: 35.89 kB / 369.9 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.05216, allocations: 15.98 kB / 369.9 MB, free: 9.273 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002543/0.05242, allocations: 326.8 kB / 370.2 MB, free: 8.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.05242, allocations: 0 / 370.2 MB, free: 8.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001077/0.05349, allocations: 307 kB / 370.5 MB, free: 8.656 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.0009148/0.05441, allocations: 362.2 kB / 370.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.05607, allocations: 1.324 MB / 372.2 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.05607, allocations: 1.5 kB / 372.2 MB, free: 6.926 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.05649, allocations: 467.6 kB / 372.7 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.05695, allocations: 96.28 kB / 372.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.05941, allocations: 1.21 MB / 374 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.05953, allocations: 149.7 kB / 374.1 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.05973, allocations: 59.23 kB / 374.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.115e-05/0.05982, allocations: 36.5 kB / 374.2 MB, free: 4.805 MB / 298.7 MB Notification: Performance of SimCode: time 1.704e-06/0.05982, allocations: 0 / 374.2 MB, free: 4.805 MB / 298.7 MB Notification: Performance of Templates: time 0.01249/0.07231, allocations: 7.408 MB / 381.6 MB, free: 13.47 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: 3.4038684288971126]