Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.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.0008679/0.0008679, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001036/0.001036, allocations: 173 kB / 23.5 MB, free: 1.051 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.931/0.931, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.02556/0.02556, allocations: 6.476 MB / 266.8 MB, free: 6.684 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.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 338.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318e-05/1.467e-05, allocations: 2.312 kB / 338.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2): time 0.01078/0.0108, allocations: 5.119 MB / 343.2 MB, free: 5.996 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002719/0.01352, allocations: 2.325 MB / 345.5 MB, free: 3.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.01385, allocations: 19.88 kB / 345.5 MB, free: 3.645 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003857/0.01423, allocations: 202.5 kB / 345.7 MB, free: 3.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005316/0.01476, allocations: 290 kB / 346 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.01522, allocations: 387.2 kB / 346.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006051/0.01583, allocations: 0.974 MB / 347.4 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004111/0.01624, allocations: 319.4 kB / 347.7 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.01682, allocations: 0.573 MB / 348.3 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.01723, allocations: 339 kB / 348.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.01734, allocations: 108 kB / 348.7 MB, free: 468 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002575/0.0176, allocations: 211.8 kB / 348.9 MB, free: 256 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.01775, allocations: 223.2 kB / 349.1 MB, free: 32 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002996/0.01805, allocations: 295.4 kB / 349.4 MB, free: 15.74 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009274/0.01898, allocations: 0.7435 MB / 350.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01898, allocations: 0 / 350.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01898, allocations: 0 / 350.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.01899, allocations: 0 / 350.2 MB, free: 14.99 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: 164 * Number of variables: 164 Notification: Performance of Generate backend data structure: time 0.00159/0.02058, allocations: 1.246 MB / 351.4 MB, free: 13.7 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.02062, allocations: 12.03 kB / 351.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.02083, allocations: 156.3 kB / 351.6 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.0214, allocations: 470.1 kB / 352 MB, free: 13.04 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.02152, allocations: 105.3 kB / 352.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.552e-05/0.02161, allocations: 84.25 kB / 352.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000988/0.0226, allocations: 0.6765 MB / 352.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.02262, allocations: 0 / 352.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-05/0.02267, allocations: 28 kB / 352.9 MB, free: 12.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.02269, allocations: 16 kB / 352.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.02333, allocations: 311 kB / 353.2 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002889/0.02622, allocations: 2.343 MB / 355.6 MB, free: 9.301 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005218/0.02674, allocations: 283.8 kB / 355.9 MB, free: 9 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.02693, allocations: 143.3 kB / 356 MB, free: 8.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.02696, allocations: 8.281 kB / 356 MB, free: 8.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.0273, allocations: 321 kB / 356.3 MB, free: 8.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.543e-06/0.0273, allocations: 0 / 356.3 MB, free: 8.477 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008617/0.02816, allocations: 0.5535 MB / 356.9 MB, free: 7.875 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.482e-05/0.02822, allocations: 166.2 kB / 357 MB, free: 7.676 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004716/0.0287, allocations: 0.4986 MB / 357.5 MB, free: 7.16 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.02873, allocations: 33.7 kB / 357.6 MB, free: 7.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.02899, allocations: 427.2 kB / 358 MB, free: 6.695 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/0.02908, allocations: 131 kB / 358.1 MB, free: 6.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.02923, allocations: 103.8 kB / 358.2 MB, free: 6.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003183/0.02955, allocations: 0.5352 MB / 358.7 MB, free: 5.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002512/0.0298, allocations: 174.7 kB / 358.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/0.03015, allocations: 400 kB / 359.3 MB, free: 5.223 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005346/0.03069, allocations: 476.7 kB / 359.8 MB, free: 4.66 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.03069, allocations: 0 / 359.8 MB, free: 4.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008391/0.03153, allocations: 0.5943 MB / 360.4 MB, free: 4.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.582e-05/0.03159, allocations: 99.91 kB / 360.5 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.03159, allocations: 0 / 360.5 MB, free: 3.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.03175, allocations: 35.56 kB / 360.5 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003182/0.03207, allocations: 92.33 kB / 360.6 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009623/0.03304, allocations: 1.744 MB / 362.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.03334, allocations: 67.64 kB / 362.4 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.03338, allocations: 20 kB / 362.4 MB, free: 1.824 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003729/0.03375, allocations: 300.9 kB / 362.7 MB, free: 1.508 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003612/0.03411, allocations: 396.2 kB / 363.1 MB, free: 1.02 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005376/0.03465, allocations: 471.1 kB / 363.6 MB, free: 476 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.03465, allocations: 0 / 363.6 MB, free: 476 kB / 282.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008481/0.0355, allocations: 0.6003 MB / 364.2 MB, free: 15.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.03555, allocations: 93.09 kB / 364.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.03556, allocations: 4 kB / 364.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.086e-05/0.03565, allocations: 23.69 kB / 364.3 MB, free: 15.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.03594, allocations: 91.83 kB / 364.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.03702, allocations: 1.74 MB / 366.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.03729, allocations: 55.75 kB / 366.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.03733, allocations: 20 kB / 366.2 MB, free: 13.65 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 (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.0002289/0.03756, allocations: 369.5 kB / 366.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.03766, allocations: 75.62 kB / 366.6 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/0.03836, allocations: 438 kB / 367 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.03836, allocations: 4 kB / 367 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.03837, allocations: 0 / 367 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.03837, allocations: 4 kB / 367 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.03987, allocations: 1.012 MB / 368.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03987, allocations: 0 / 368.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002656/0.04014, allocations: 59.91 kB / 368.1 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.508e-05/0.04021, allocations: 27.67 kB / 368.1 MB, free: 11.55 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.04025, allocations: 16 kB / 368.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008879/0.04114, allocations: 1.724 MB / 369.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.04114, allocations: 0 / 369.9 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.04215, allocations: 0.7333 MB / 370.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.04233, allocations: 99.62 kB / 370.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.242e-05/0.04239, allocations: 8 kB / 370.7 MB, free: 8.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002718/0.04266, allocations: 31.97 kB / 370.8 MB, free: 8.754 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.04279, allocations: 39.94 kB / 370.8 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.04282, allocations: 8 kB / 370.8 MB, free: 8.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003627/0.04318, allocations: 326.8 kB / 371.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.04318, allocations: 4 kB / 371.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000942/0.04412, allocations: 330.9 kB / 371.4 MB, free: 8.062 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,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.001249/0.04537, allocations: 471.2 kB / 371.9 MB, free: 7.754 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001587/0.04696, allocations: 1.333 MB / 373.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.04696, allocations: 0 / 373.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.0474, allocations: 467.6 kB / 373.7 MB, free: 5.738 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.04792, allocations: 94.97 kB / 373.8 MB, free: 5.652 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.05006, allocations: 1.184 MB / 375 MB, free: 4.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.0502, allocations: 145.7 kB / 375.1 MB, free: 4.254 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002468/0.05044, allocations: 63.23 kB / 375.2 MB, free: 4.191 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.05056, allocations: 40.5 kB / 375.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.05056, allocations: 0 / 375.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of Templates: time 0.009792/0.06035, allocations: 7.878 MB / 383.1 MB, free: 12.35 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0671164949890226]