Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.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.001237/0.001237, allocations: 79.78 kB / 19.18 MB, free: 2.527 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.001411/0.001411, allocations: 163.7 kB / 22.46 MB, free: 5.359 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.359/1.359, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 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.03812/0.03812, allocations: 6.488 MB / 265.7 MB, free: 10.28 MB / 254.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/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.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 392.1 MB, free: 9.738 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.773e-05, allocations: 2.281 kB / 392.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1): time 0.006568/0.006585, allocations: 4.797 MB / 396.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002774/0.009359, allocations: 1.585 MB / 398.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000309/0.009668, allocations: 19.88 kB / 398.5 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.01013, allocations: 202.5 kB / 398.7 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006398/0.01077, allocations: 286 kB / 399 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.01142, allocations: 379.3 kB / 399.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009811/0.0124, allocations: 0.9778 MB / 400.4 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.01288, allocations: 311.5 kB / 400.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007009/0.01358, allocations: 0.5574 MB / 401.2 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00044/0.01402, allocations: 323 kB / 401.5 MB, free: 272 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.01416, allocations: 104 kB / 401.6 MB, free: 168 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.01437, allocations: 144 kB / 401.8 MB, free: 24 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.01459, allocations: 211.4 kB / 402 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003191/0.01491, allocations: 291.2 kB / 402.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.01612, allocations: 1.145 MB / 403.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.01612, allocations: 0 / 403.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01612, allocations: 0 / 403.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.01613, allocations: 0 / 403.4 MB, free: 14.38 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.00201/0.01814, allocations: 1.131 MB / 404.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.01818, allocations: 12.03 kB / 404.6 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001603/0.01834, allocations: 100.3 kB / 404.7 MB, free: 13.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007616/0.0191, allocations: 451.3 kB / 405.1 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.01924, allocations: 105.3 kB / 405.2 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.01935, allocations: 80.31 kB / 405.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.02081, allocations: 0.8078 MB / 406.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/0.02084, allocations: 4 kB / 406.1 MB, free: 11.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.0209, allocations: 28 kB / 406.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.02092, allocations: 16 kB / 406.1 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.02235, allocations: 0.5784 MB / 406.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.02588, allocations: 2.195 MB / 408.9 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.02694, allocations: 422.3 kB / 409.3 MB, free: 8.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.02745, allocations: 240.4 kB / 409.6 MB, free: 7.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.02748, allocations: 4.281 kB / 409.6 MB, free: 7.953 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000678/0.02816, allocations: 385.5 kB / 409.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.834e-06/0.02816, allocations: 0 / 409.9 MB, free: 7.535 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.001848/0.03001, allocations: 0.7929 MB / 410.7 MB, free: 6.695 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.0301, allocations: 136.5 kB / 410.9 MB, free: 6.531 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006088/0.03071, allocations: 0.5291 MB / 411.4 MB, free: 5.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.03075, allocations: 33.7 kB / 411.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002853/0.03103, allocations: 372.5 kB / 411.8 MB, free: 5.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.03115, allocations: 126.9 kB / 411.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.03131, allocations: 98.14 kB / 412 MB, free: 5.359 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.03148, allocations: 362.8 kB / 412.4 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.03202, allocations: 271.9 kB / 412.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.03264, allocations: 421.3 kB / 413 MB, free: 4.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.03375, allocations: 0.6 MB / 413.6 MB, free: 3.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.03376, allocations: 3.938 kB / 413.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001416/0.03517, allocations: 0.7598 MB / 414.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.911e-05/0.03524, allocations: 89.11 kB / 414.5 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.03525, allocations: 4 kB / 414.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001431/0.03539, allocations: 36.66 kB / 414.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.0358, allocations: 99.88 kB / 414.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.03682, allocations: 1.257 MB / 415.9 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004464/0.03727, allocations: 79.62 kB / 416 MB, free: 1.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.593e-05/0.03732, allocations: 23.98 kB / 416 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007114/0.03803, allocations: 430.1 kB / 416.4 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000577/0.0386, allocations: 412.7 kB / 416.8 MB, free: 124 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001004/0.03961, allocations: 0.5903 MB / 417.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.03961, allocations: 0 / 417.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001324/0.04093, allocations: 0.7378 MB / 418.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.91e-05/0.04099, allocations: 89.11 kB / 418.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.041, allocations: 8.375 kB / 418.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-05/0.04108, allocations: 28.84 kB / 418.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.04148, allocations: 95.88 kB / 418.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009522/0.04243, allocations: 1.256 MB / 419.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/0.04286, allocations: 75.92 kB / 419.7 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.065e-05/0.04291, allocations: 20 kB / 419.7 MB, free: 12.98 MB / 350.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 (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.0002182/0.04312, allocations: 276.1 kB / 420 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.238e-05/0.04321, allocations: 55.62 kB / 420 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.04452, allocations: 0.6005 MB / 420.6 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.04452, allocations: 4 kB / 420.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.04453, allocations: 4 kB / 420.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.04453, allocations: 0 / 420.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001945/0.04648, allocations: 1.108 MB / 421.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.04648, allocations: 0 / 421.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00037/0.04685, allocations: 71.88 kB / 421.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.999e-05/0.04693, allocations: 24.84 kB / 421.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/0.04696, allocations: 8 kB / 421.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009525/0.04792, allocations: 1.256 MB / 423.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.04792, allocations: 0 / 423.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/0.04978, allocations: 0.9607 MB / 424.1 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.04995, allocations: 91.62 kB / 424.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/0.05002, allocations: 16 kB / 424.2 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.05044, allocations: 47.88 kB / 424.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.05055, allocations: 35.94 kB / 424.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.05058, allocations: 12 kB / 424.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004283/0.05101, allocations: 374.8 kB / 424.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.05101, allocations: 0 / 424.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007789/0.05179, allocations: 310.9 kB / 424.9 MB, free: 7.465 MB / 350.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.001387/0.05318, allocations: 388.7 kB / 425.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.05551, allocations: 1.449 MB / 426.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.05551, allocations: 0 / 426.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.05626, allocations: 489.6 kB / 427.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005376/0.0568, allocations: 85.67 kB / 427.3 MB, free: 5.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.05887, allocations: 1.246 MB / 428.6 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.05919, allocations: 317.1 kB / 428.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.05943, allocations: 71.22 kB / 428.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.05954, allocations: 36.48 kB / 429 MB, free: 3.289 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.05954, allocations: 0 / 429 MB, free: 3.289 MB / 350.1 MB Notification: Performance of Templates: time 0.01348/0.07302, allocations: 7.042 MB / 436 MB, free: 12.32 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.421466164290905] Failed to read output from testmodel.py, exit status != 0: 0.08121238648891449 0.24389073200000003 0.076065992 Calling exit ...