Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.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.001308/0.001308, 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.001063/0.001063, 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.923/0.923, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.02619/0.02619, allocations: 6.491 MB / 266.4 MB, free: 6.625 MB / 250.7 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.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 338.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.54e-05, allocations: 2.312 kB / 338.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3): time 0.005063/0.005079, allocations: 5.155 MB / 343.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.00793, allocations: 2.333 MB / 345.6 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.008352, allocations: 23.88 kB / 345.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.008755, allocations: 198.6 kB / 345.8 MB, free: 4.113 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006058/0.00936, allocations: 301.9 kB / 346.1 MB, free: 3.816 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.009929, allocations: 383.3 kB / 346.5 MB, free: 3.441 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007898/0.01072, allocations: 0.9817 MB / 347.4 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003713/0.01109, allocations: 311.5 kB / 347.7 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005683/0.01166, allocations: 0.5653 MB / 348.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003597/0.01202, allocations: 351 kB / 348.6 MB, free: 1.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.22e-05/0.01211, allocations: 108 kB / 348.8 MB, free: 1.117 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.01234, allocations: 207.8 kB / 349 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.01249, allocations: 227.2 kB / 349.2 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.01269, allocations: 299.2 kB / 349.5 MB, free: 408 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007188/0.01341, allocations: 0.7435 MB / 350.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.245e-06/0.01341, allocations: 0 / 350.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.01341, allocations: 0 / 350.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.01342, allocations: 0 / 350.2 MB, free: 15.65 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001317/0.01474, allocations: 1.258 MB / 351.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.01477, allocations: 8.031 kB / 351.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.01493, allocations: 152.4 kB / 351.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.01542, allocations: 474 kB / 352.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/0.01551, allocations: 113.3 kB / 352.2 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.553e-05/0.01559, allocations: 76.33 kB / 352.3 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000736/0.01633, allocations: 0.6842 MB / 353 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.01635, allocations: 4 kB / 353 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.01639, allocations: 28 kB / 353 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.0164, allocations: 16 kB / 353 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004377/0.01684, allocations: 323 kB / 353.3 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002103/0.01894, allocations: 2.336 MB / 355.7 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004312/0.01937, allocations: 286.6 kB / 355.9 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.01952, allocations: 147.6 kB / 356.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.01956, allocations: 8.281 kB / 356.1 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002721/0.01983, allocations: 316.7 kB / 356.4 MB, free: 9.105 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 1.883e-06/0.01983, allocations: 3.938 kB / 356.4 MB, free: 9.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006865/0.02052, allocations: 0.5573 MB / 357 MB, free: 8.496 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.02058, allocations: 170.1 kB / 357.1 MB, free: 8.293 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.02095, allocations: 0.4947 MB / 357.6 MB, free: 7.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.02098, allocations: 37.7 kB / 357.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001898/0.02117, allocations: 427.2 kB / 358.1 MB, free: 7.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.225e-05/0.02124, allocations: 134.9 kB / 358.2 MB, free: 7.188 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.02135, allocations: 107.7 kB / 358.3 MB, free: 7.074 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.02149, allocations: 0.5352 MB / 358.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.02166, allocations: 170.7 kB / 359 MB, free: 6.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.0219, allocations: 396.1 kB / 359.4 MB, free: 5.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003633/0.02226, allocations: 468.9 kB / 359.9 MB, free: 5.293 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.02227, allocations: 4 kB / 359.9 MB, free: 5.289 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0005689/0.02283, allocations: 0.602 MB / 360.5 MB, free: 4.641 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.02288, allocations: 93.09 kB / 360.6 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.02289, allocations: 7.938 kB / 360.6 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001266/0.02301, allocations: 19.69 kB / 360.6 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.02323, allocations: 104.2 kB / 360.7 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007365/0.02396, allocations: 1.744 MB / 362.4 MB, free: 2.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.02415, allocations: 63.66 kB / 362.5 MB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.02418, allocations: 20 kB / 362.5 MB, free: 2.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002489/0.02443, allocations: 305 kB / 362.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002392/0.02467, allocations: 392 kB / 363.2 MB, free: 1.645 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003546/0.02502, allocations: 471 kB / 363.6 MB, free: 1.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.888e-06/0.02503, allocations: 7.938 kB / 363.7 MB, free: 1.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0006017/0.02563, allocations: 0.5886 MB / 364.2 MB, free: 456 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/0.02567, allocations: 101 kB / 364.3 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.02567, allocations: 4 kB / 364.3 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.435e-05/0.02574, allocations: 23.69 kB / 364.4 MB, free: 304 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.02594, allocations: 87.89 kB / 364.5 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007438/0.02669, allocations: 1.74 MB / 366.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.02692, allocations: 59.75 kB / 366.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.02695, allocations: 20 kB / 366.3 MB, free: 14.27 MB / 346.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.0001644/0.02711, allocations: 358.4 kB / 366.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.02718, allocations: 75.72 kB / 366.7 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00049/0.02767, allocations: 449.9 kB / 367.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.02767, allocations: 7.938 kB / 367.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.02768, allocations: 0 / 367.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.02768, allocations: 0 / 367.1 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009308/0.02861, allocations: 1.012 MB / 368.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.02862, allocations: 4 kB / 368.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.02878, allocations: 59.91 kB / 368.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.732e-05/0.02884, allocations: 23.67 kB / 368.2 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.02886, allocations: 12 kB / 368.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006218/0.02948, allocations: 1.736 MB / 370 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.02948, allocations: 0 / 370 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.03009, allocations: 0.7296 MB / 370.7 MB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.03021, allocations: 99.44 kB / 370.8 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.03024, allocations: 8 kB / 370.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.0304, allocations: 31.97 kB / 370.9 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/0.03048, allocations: 39.94 kB / 370.9 MB, free: 9.332 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.0305, allocations: 8 kB / 370.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.03072, allocations: 330.8 kB / 371.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03072, allocations: 0 / 371.2 MB, free: 9.004 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005024/0.03122, allocations: 334.9 kB / 371.6 MB, free: 8.676 MB / 346.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.0008292/0.03205, allocations: 461.8 kB / 372 MB, free: 8.371 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000954/0.033, allocations: 1.329 MB / 373.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.033, allocations: 0 / 373.3 MB, free: 6.875 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.0333, allocations: 467.6 kB / 373.8 MB, free: 6.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.03363, allocations: 99.55 kB / 373.9 MB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.03506, allocations: 1.177 MB / 375.1 MB, free: 5.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.378e-05/0.03514, allocations: 145.7 kB / 375.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.03528, allocations: 63.23 kB / 375.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.184e-05/0.03536, allocations: 44.48 kB / 375.3 MB, free: 4.773 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.03536, allocations: 0 / 375.3 MB, free: 4.773 MB / 346.7 MB Notification: Performance of Templates: time 0.009569/0.04493, allocations: 7.865 MB / 383.2 MB, free: 12.99 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9831348550505936]