Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.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.0007948/0.0007948, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009424/0.0009424, allocations: 173 kB / 23.5 MB, free: 1.055 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.048/1.048, allocations: 177.1 MB / 203.8 MB, free: 5.289 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.02851/0.02851, allocations: 6.476 MB / 266.8 MB, free: 6.562 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.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") translateModel(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 338.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.662e-05, allocations: 2.312 kB / 338.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4): time 0.004896/0.004922, allocations: 5.112 MB / 343.2 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.007709, allocations: 2.329 MB / 345.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.008172, allocations: 15.94 kB / 345.5 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.008651, allocations: 218.4 kB / 345.8 MB, free: 3.422 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009476/0.009598, allocations: 345.7 kB / 346.1 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.01071, allocations: 0.4951 MB / 346.6 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008124/0.01152, allocations: 1.071 MB / 347.7 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/0.01193, allocations: 332.5 kB / 348 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.01255, allocations: 0.612 MB / 348.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.01295, allocations: 370.9 kB / 349 MB, free: 188 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.385e-05/0.01304, allocations: 116 kB / 349.1 MB, free: 72 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.01348, allocations: 251.7 kB / 349.3 MB, free: 15.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.01369, allocations: 267.1 kB / 349.6 MB, free: 15.56 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003151/0.01401, allocations: 327.2 kB / 349.9 MB, free: 15.24 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.01514, allocations: 0.8603 MB / 350.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.01514, allocations: 0 / 350.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.01515, allocations: 4 kB / 350.8 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.535e-05/0.01517, allocations: 0 / 350.8 MB, free: 14.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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001864/0.01703, allocations: 1.398 MB / 352.2 MB, free: 12.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.01709, allocations: 8.031 kB / 352.2 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.01737, allocations: 168.3 kB / 352.3 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.01806, allocations: 0.5429 MB / 352.9 MB, free: 12.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.01817, allocations: 110 kB / 353 MB, free: 12.05 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.01826, allocations: 80.31 kB / 353.1 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009207/0.01918, allocations: 0.7295 MB / 353.8 MB, free: 11.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.01921, allocations: 7.984 kB / 353.8 MB, free: 11.17 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/0.01926, allocations: 31.98 kB / 353.8 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.01928, allocations: 16 kB / 353.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005075/0.01978, allocations: 307 kB / 354.1 MB, free: 10.81 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.02251, allocations: 2.445 MB / 356.6 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.02304, allocations: 291.2 kB / 356.9 MB, free: 7.953 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.02321, allocations: 139.3 kB / 357 MB, free: 7.801 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.546e-05/0.02324, allocations: 8.281 kB / 357 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003154/0.02356, allocations: 309 kB / 357.3 MB, free: 7.445 MB / 282.7 MB Notification: Performance of pre-optimization done (n=36): time 1.593e-06/0.02356, allocations: 4 kB / 357.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of matching and sorting (n=36): time 0.0008344/0.02439, allocations: 0.5573 MB / 357.9 MB, free: 6.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.02447, allocations: 203.8 kB / 358.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006441/0.02512, allocations: 0.6478 MB / 358.7 MB, free: 5.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.02516, allocations: 41.7 kB / 358.8 MB, free: 5.883 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.02545, allocations: 475.2 kB / 359.2 MB, free: 5.41 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.02554, allocations: 130.9 kB / 359.4 MB, free: 5.281 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.02568, allocations: 112 kB / 359.5 MB, free: 5.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.02586, allocations: 0.5547 MB / 360 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.02607, allocations: 175.4 kB / 360.2 MB, free: 4.402 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.02637, allocations: 443.5 kB / 360.6 MB, free: 3.855 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.02682, allocations: 479.5 kB / 361.1 MB, free: 3.293 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.02682, allocations: 8 kB / 361.1 MB, free: 3.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006693/0.02749, allocations: 0.6277 MB / 361.7 MB, free: 2.609 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.02755, allocations: 93.05 kB / 361.8 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.02756, allocations: 4.438 kB / 361.8 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.02771, allocations: 35.61 kB / 361.9 MB, free: 2.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/0.02793, allocations: 103.9 kB / 362 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008634/0.02879, allocations: 1.732 MB / 363.7 MB, free: 0.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.02901, allocations: 71.78 kB / 363.8 MB, free: 440 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.02904, allocations: 24 kB / 363.8 MB, free: 416 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002848/0.02932, allocations: 305.2 kB / 364.1 MB, free: 84 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002899/0.02961, allocations: 438.1 kB / 364.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003882/0.03, allocations: 479.5 kB / 365 MB, free: 14.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.953e-06/0.03, allocations: 0 / 365 MB, free: 14.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.0006517/0.03065, allocations: 0.6237 MB / 365.6 MB, free: 14.31 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/0.03069, allocations: 97.09 kB / 365.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.0307, allocations: 4 kB / 365.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.918e-05/0.03077, allocations: 23.67 kB / 365.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.03096, allocations: 104.4 kB / 365.8 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007857/0.03175, allocations: 1.747 MB / 367.6 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.03195, allocations: 63.7 kB / 367.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.03198, allocations: 24 kB / 367.7 MB, free: 12.11 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 (62): * Single equations (assignments): 58 * 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.0001772/0.03215, allocations: 372.2 kB / 368 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.896e-05/0.03223, allocations: 83.52 kB / 368.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004944/0.03273, allocations: 447.2 kB / 368.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.03273, allocations: 4 kB / 368.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.03273, allocations: 0 / 368.6 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.03274, allocations: 7.938 kB / 368.6 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.03406, allocations: 1.09 MB / 369.6 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.03407, allocations: 4 kB / 369.7 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.03423, allocations: 63.89 kB / 369.7 MB, free: 9.934 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.33e-05/0.03431, allocations: 15.69 kB / 369.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.03434, allocations: 15.98 kB / 369.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007024/0.03504, allocations: 1.736 MB / 371.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.03504, allocations: 0 / 371.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/0.03599, allocations: 0.7332 MB / 372.2 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.03613, allocations: 111.4 kB / 372.3 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.03617, allocations: 16 kB / 372.3 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.03633, allocations: 31.97 kB / 372.4 MB, free: 7.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.03642, allocations: 35.88 kB / 372.4 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.03644, allocations: 12.03 kB / 372.4 MB, free: 7.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003572/0.0368, allocations: 435 kB / 372.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0368, allocations: 0 / 372.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006789/0.03748, allocations: 362.9 kB / 373.2 MB, free: 6.258 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.001473/0.03895, allocations: 0.6826 MB / 373.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.04011, allocations: 1.344 MB / 375.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.04011, allocations: 0 / 375.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.04043, allocations: 471.8 kB / 375.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.04085, allocations: 116.8 kB / 375.8 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.04284, allocations: 1.344 MB / 377.1 MB, free: 2.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.04295, allocations: 170 kB / 377.3 MB, free: 2.129 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001827/0.04313, allocations: 68.36 kB / 377.4 MB, free: 2.059 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.523e-05/0.04323, allocations: 52.48 kB / 377.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.04323, allocations: 0 / 377.4 MB, free: 2.008 MB / 298.7 MB Notification: Performance of Templates: time 0.01345/0.05668, allocations: 9.537 MB / 387 MB, free: 8.562 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestOneFlange.TestOneFlange4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2541648240294307]